Chapter 07: Resource Management & QoS
Why This Chapter Exists
Unbounded workloads create noisy-neighbor incidents and unpredictable recovery. This chapter enforces resource discipline:
- requests/limits per container
- namespace quotas
- predictable QoS behavior under pressure
Guardrails
- Every workload must define CPU/memory requests and limits.
- Namespaces must enforce
LimitRangeandResourceQuota. - OOM and throttling analysis must happen before scaling decisions.
Repo Mapping
Platform repository references:
- Backend resource config
- Frontend resource config
- Develop quotas/limits
- Staging quotas/limits
- Production quotas/limits
- Flux infrastructure wiring
- Flux apps wiring
Current Implementation (This Repo)
- Backend and frontend define CPU/memory/ephemeral-storage requests+limits.
develop,staging,productionhaveLimitRangeandResourceQuotavia Flux.- Apps depend on resource-management Kustomizations before reconcile.
Lab Files
lab.mdquiz.md
Done When
- learner can explain Burstable vs Guaranteed vs BestEffort with real manifests
- learner can verify quota/limitrange enforcement in cluster
- learner can diagnose OOM/resource pressure from pod events and metrics