Skip to content

Grading Checklist

  • Correctly identifies the PDB with minAvailable: 1 as the root cause blocking eviction of the sole replica.
  • Explains why the eviction API cannot proceed: evicting the pod would violate the PDB since there is only one replica.
  • Suggests scaling the deployment to 2+ replicas before retrying the drain.
  • Mentions verifying available cluster capacity for the new replica before scaling.
  • Describes the difference between --disable-eviction (delete bypass) and normal eviction API behavior.
  • Warns against using --delete-emptydir-data or --force without understanding implications.
  • Recommends reviewing PDB configuration to use maxUnavailable: 1 or adjusting minAvailable relative to replica count.
  • Notes that PDBs are namespace-scoped and matched by label selectors.
  • Suggests a long-term fix: ensure production deployments always have replicas > minAvailable.
  • Mentions checking kubectl get pdb -n prod and kubectl get events for diagnostic information.
  • Considers the maintenance window timeline and communicates risk to stakeholders.