An infrastructure team is preparing to deploy a specialized network monitoring workload to Google Kubernetes Engine (GKE). The workload container requires running in privileged mode (`securityContext.privileged: true`) and modifying node-level kernel `sysctl` settings. Which GKE cluster operational mode should the team select to accommodate this requirement?
- Deploy a GKE Standard cluster and configure a node pool that permits privileged containers.Answer
- BDeploy a GKE Autopilot cluster, because Autopilot automatically grants host kernel capabilities to pods requesting privileged status.
- CDeploy a GKE Autopilot cluster utilizing Spot node pools to bypass security baseline constraints for batch workloads.
- DDeploy a GKE Standard cluster and execute kubectl apply directly without initializing cluster credentials via gcloud container clusters get-credentials.
Answer
Deploy a GKE Standard cluster and configure a node pool that permits privileged containers.
GKE Standard allows cluster administrators full control over node management, custom node pools, and container security contexts, enabling workloads to run with privileged capabilities and modify kernel parameters.
Step-by-Step Solution
Key Concept
GKE Autopilot vs Standard Operational Boundaries