![[Kubernetes] Cordon & Drain](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FovCGw%2FbtrD2HBHLAA%2FJ3B8UpTNB4esVWcoQVmbI0%2Fimg.png)
DevOps/Kubernetes2022. 6. 6. 13:20[Kubernetes] Cordon & Drain
🚀 Cordon & Drain 🚀 Cordon 스케줄링 금지 kubectl cordon 스케줄링 허용 kubectl uncordon vagrant@k8s-node1 ~/schedule/affinity kubectl get nodes NAME STATUS ROLES AGE VERSION node1 Ready control-plane,master 10d v1.22.8 node2 Ready 10d v1.22.8 node3 Ready 7d23h v1.22.8 node의 STATUS를 주의깊게 보자 vagrant@k8s-node1 ~/schedule/affinity kubectl cordon node2 node/node2 cordoned node2에 cordon을 걸었다. vagrant@k8s-no..