Difficulty: Advanced
How do you safely prepare a node for maintenance?
1. `kubectl cordon <node>` (stop new pods). 2. `kubectl drain <node>` (evict existing pods to other nodes).
Drain, Maintenance
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.