Kubernetes (K8s) (50 Qs)•Part 3: Advanced Internals, Scale & Production Security (Senior / Lead)
Multi-Tenant Cluster Governance: LimitRanges, ResourceQuotas, and Virtual Clusters (`vcluster`).
senior LevelSecurity & Auth
In Simple Words: Preventing noisy neighbor problems when multiple development teams share one cluster:
ResourceQuota: Sets hard limits on total aggregate compute resources per namespace (e.g., Team A can consume at most 40 cores and 100GB RAM).LimitRange: Enforces default and maximum CPU/RAM requests per individual Pod, blocking developers from submitting unbounded Pods.vcluster(Virtual Clusters):- Runs a lightweight virtual control plane (API Server + SQLite/K3s) inside a single namespace of the host cluster.
- Developers receive full cluster-admin access to their own virtual cluster (can create CRDs, namespaces, and RBAC roles) while the physical host cluster remains completely isolated and secure.