Question

Difficulty: EasyProvisioning Compute Engine and Kubernetes Engine Clusters

Your DevOps team needs to provision a Google Kubernetes Engine (GKE) cluster for an internal administration service. The control plane endpoint must not be exposed to the public internet, but cluster administrators must be able to run cluster management commands from specific on-premises corporate IP addresses. Which deployment configuration should you provision to meet these access requirements?

  1. Provision a private GKE cluster with public endpoint access disabled and enable control plane authorized networks for the corporate IP ranges.Answer
  2. B
    Provision a private GKE cluster with default network settings and grant administrators primitive Owner roles to secure the public control plane endpoint.
  3. C
    Provision a standard GKE cluster with public endpoints and rely on Cloud IAM permissions without configuring control plane authorized networks.
  4. D
    Provision a Compute Engine Managed Instance Group with GKE Enterprise components installed manually using local unversioned state files.

Answer

Provisioning a private GKE cluster with public endpoint access disabled and control plane authorized networks configured for the corporate IP ranges satisfies both privacy and administrative access requirements.
Provisioning a private GKE cluster with public endpoints disabled isolates the control plane to private IP addresses. Enabling control plane authorized networks allows specified corporate IP ranges to securely access the Kubernetes API server via authorized routing.

Step-by-Step Solution

1
Identify the private endpoint requirement for GKE cluster control plane nodes.
Disabling public control plane access ensures nodes and master endpoints rely on private IP addresses within the VPC.
This prevents direct exposure of cluster control endpoints to the public internet.
2
Configure master authorized networks for remote administration access.
Specify the exact corporate on-premises CIDR blocks allowed to reach the private master endpoint.
Control plane authorized networks enforce network-level access control for administration tasks.

Key Concept

Private GKE Cluster Endpoint Security and Master Authorized Networks
Rate this question