Diagram
A left-to-right process flow showing prepare, cordon old nodes as unschedulable, drain with graceful termination, then reschedule Pods onto the new pool.
Minimizing Disruption When Migrating Workloads
Workload migration between node pools is the ordered process of marking old nodes unschedulable, evicting their Pods gracefully, and letting Kubernetes reschedule those Pods onto other available nodes. Migration is used when changing machine types, replacing a pool, or preparing nodes for an upgrade, and it relies on kubectl cordon and kubectl drain applied node by node.
spec.terminationGracePeriodSeconds, which defaults to 30 seconds.Domain 6 of 12
24 practice questions
Practice this DomainLast updated