Interview Prep/Real-World Interview/Kubernetes, GitOps & deployment strategy

How did you set resource requests and limits?

IntermediateBehavioralKubernetes, GitOps & deployment strategy
Answer

Good answer looks like → "Requests from observed usage: p95 CPU and peak memory over two weeks, read from Prometheus and VPA in recommendation mode. Memory limit equal to request to avoid overcommit surprises; no CPU limits for latency-sensitive services, to avoid CFS throttling, with CPU requests guaranteeing their share. A LimitRange gave defaults per namespace."

Follow-ups to expect → What's CPU throttling and how did you detect it? What QoS class did your pods get?

Red flags → Copying 500m/512Mi everywhere with no data.

All Real-World Interview questions Roadmap: Interview readiness

More on Kubernetes, GitOps & deployment strategy