Drain
1 minute read
Exercise π
Create a Deployment named www, with 4 replicas of Pods based on the nginx:1.20 image
Where are the Pods scheduled ?
Drain the worker1 node. What happened ?
Uncordon worker1
What happened for the Pods belonging to the www Deployment ?
Force the recreation of the Pods. What happened ?
Delete the Deployment
Documentation π
https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/