Skip to main content
InterviewHubPRO
Section Overview
Q24

Question 24 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

48%
GCP Cloud Architecture (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

How does GKE multi-tenancy work (Namespace isolation, NetworkPolicies, and GKE Workload Identity)?

senior LevelgcpAdvanced Internals

In Simple Words:

  1. Namespaces: Logical separation of resources per tenant.
  2. NetworkPolicies (Calico / Datapath v2 - eBPF): Restricts east-west pod traffic so pods in tenant-a cannot communicate with pods in tenant-b.
  3. GKE Workload Identity: Maps a Kubernetes ServiceAccount (KSA) directly to a Google Cloud IAM ServiceAccount (GSA), ensuring Pod A cannot access resources owned by Pod B.
  4. ResourceQuotas & LimitRanges: Caps CPU/RAM consumption per tenant.