An enterprise financial organization is deploying a private Google Kubernetes Engine (GKE) cluster for PCI-DSS compliant workloads. Cloud architects must grant security administrators on the corporate on-premises network access to the GKE control plane via Cloud Interconnect while keeping the control plane completely private from the public internet. Additionally, CI/CD deployment service accounts must be restricted to minimal permissions required to bind pod workloads to specific node pool identities. Which set of configuration steps meets these security and operational requirements?
- Configure the cluster as a private cluster with a private endpoint, enable Master Authorized Networks including the corporate on-premises CIDR blocks, and grant the CI/CD service account the Service Account User role on the node pool service account.Cevap
- BConfigure the cluster as a private cluster with a private endpoint without Master Authorized Networks, relying on default VPC Peering routes, and grant the CI/CD service account the Service Account User role on the node pool service account.
- CConfigure the cluster as a private cluster with a private endpoint, enable Master Authorized Networks including the corporate on-premises CIDR blocks, and grant the CI/CD service account the Service Account Admin role on the node pool service account.
- DConfigure the cluster with a public control plane endpoint protected by standard VPC Firewall rules, and grant the CI/CD service account the primitive Editor role at the project level.
Cevap
The correct architecture requires provisioning a private GKE cluster with its private endpoint enabled, configuring Master Authorized Networks to permit on-premises CIDR ranges routed over Cloud Interconnect, and scoping CI/CD pipeline IAM permissions to roles/iam.serviceAccountUser on the node service account.
Private GKE clusters use Google-managed VPC peering for the control plane. Accessing the private control plane endpoint from on-premises networks connected via Cloud Interconnect requires Master Authorized Networks to be enabled with those specific CIDR blocks. In addition, scoping CI/CD deployment permissions to the Service Account User role satisfies least-privilege access when attaching node identities.
Adım Adım Çözüm
Anahtar Kavram
Provisioning Private GKE Clusters and IAM Privilege Scoping
Tahmini Süre:2m 0s