An energy utility corporation is setting up a secure telemetry processing platform on Google Cloud. The architecture requires a private Google Kubernetes Engine (GKE) cluster for microservices and a Managed Instance Group (MIG) of Compute Engine VMs for legacy batch processing. The operations team will administer the private GKE cluster control plane remotely from an on-premises administrative subnet () over Cloud Interconnect. Automated deployment pipelines using a dedicated service account will provision both the compute infrastructure and workloads. Which TWO configuration steps are required to ensure secure provisioning and access according to Google recommended practices?
- Enable Control Plane Authorized Networks on the GKE cluster and include the on-premises subnet CIDR block ().Cevap
- Grant the deployment pipeline service account the Service Account User role (`roles/iam.serviceAccountUser`) on the runtime service accounts assigned to the compute instances.Cevap
- CGrant the deployment pipeline service account the Service Account Admin role (`roles/iam.serviceAccountAdmin`) at the project level.
- DLeave Control Plane Authorized Networks disabled to allow default internal VPC routing for master management without IP filtering.
- EStore the deployment Terraform state file in a local git repository attached to the deployment runner instance without object versioning.
Cevap
Enable Control Plane Authorized Networks specifying the on-premises CIDR block (), and grant the deployment pipeline service account the Service Account User role (`roles/iam.serviceAccountUser`) on the runtime service accounts.
To securely provision and manage the infrastructure, the private GKE control plane endpoint must restrict administrative access to known management networks via Control Plane Authorized Networks. Additionally, automated pipelines deploying VMs or Kubernetes node pools attached to custom runtime service accounts require the `roles/iam.serviceAccountUser` role to bind those identities without granting full administrative ownership over the service accounts.
Adım Adım Çözüm
Anahtar Kavram
GKE Private Cluster Control Plane Protection and IAM Service Account User Delegation