~/ nmadiraju.com Amazon EKS · PodDisruptionBudgets
arrow_back Back to nmadiraju
Visual Walkthrough · Kubernetes workloads

How PodDisruptionBudgets Work on Amazon EKS

Follow web's 3 replicas while you drain nodes for maintenance, then check yourself with 8 questions.

1Visual Walkthrough

A PodDisruptionBudget, the Eviction API and three EKS nodes running the web Deployment's Pods You, the Eviction API, PodDisruptionBudget web and Deployment web on the left; three EKS worker nodes on the right running web's Pods. The walkthrough drains node-1 without and with a budget, shows a 429 and a retry, a node failure that the budget can't stop, a kubectl delete that skips it, a budget that allows 0, percentage rounding, and a selector that matches nothing. You kubectl · laptop Also evict managed node group updates Karpenter consolidation KUBERNETES API Eviction API POST pods/<name>/eviction PodDisruptionBudget web Deployment web replicas: 3 · app=web its ReplicaSet replaces lost Pods YOUR VPC · EKS WORKER NODES node-1 · us-east-1a node-2 · us-east-1b node-3 · us-east-1c Pod web-a app=web Pod web-b app=web Pod web-f app=web Pod web-g app=web Pod web-c app=web Pod web-e app=web Pod web-d app=web

    2Quiz to check understanding

    Check yourself