Skip to main content
InterviewHubPRO
Section Overview
Q32

Question 32 of 50

Part 3: Kubernetes Infrastructure as Code & GitOps (31 - 42)

64%
Terraform & IaC (50 Qs)•Part 3: Kubernetes Infrastructure as Code & GitOps (31 - 42)

Multi-Tenancy in Kubernetes: Namespaces, NetworkPolicies, and ResourceQuotas.

senior LevelMost AskedKubernetes

In Simple Words:

  • Namespaces: Virtual clusters isolating resource names.
  • ResourceQuotas & LimitRanges: Cap CPU, RAM, and Pod counts per namespace to prevent noisy neighbors from exhausting node capacity.
  • NetworkPolicies: Virtual firewalls controlling traffic flow between pods. By default, all pods in Kubernetes can talk to all other pods. A default-deny NetworkPolicy must be applied to isolate sensitive tenants.