Appearance
Decommissioning the node from the cluster
- Cordon the node via
kubectl cordon <node> - Drain via
kubectl drain <node> --ignore-daemonsets --delete-emptydir-data - Empty the finalizer via
kubectl patch node/<node> -p '{"metadata":{"finalizers":[]}}' --type=merge - Finally, delete the node from the cluster via
kubectl delete node <node>
