Interview Prep/DevSecOps/Kubernetes Security

A critical CVE affects the Kubernetes version running on all your clusters. How do you plan the upgrade under pressure?

AdvancedScenarioKubernetes Security
Answer

Situation read → Assess exploitability first, apply mitigations, then upgrade in a controlled order.

What I'd do →

  1. Read the advisory: which component, what preconditions (feature enabled, specific permissions)? Check if our config is affected.
  2. Apply interim mitigations from the advisory (disable a feature gate, restrict RBAC, admission policy).
  3. Check API deprecations: kubent or pluto detect-helm, and add-on compatibility (CNI, CSI, ingress).
  4. Upgrade a non-prod cluster, run smoke tests, then prod control plane, then node groups with PDBs respected.
  5. Track with a change ticket and report status to security.

Why → Rushed upgrades cause outages; mitigations buy time to upgrade safely.

Interview tip → Always show you check exploitability before panicking.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Kubernetes Security