linux:openshift:reboot
Reboots a Node
To perform a graceful restart of a node:
1 Mark the node as unschedulable:
$ oc adm cordon <node1>
2 Drain the node to remove all the running pods:
$ oc adm drain <node1> --ignore-daemonsets --delete-emptydir-data --force
3 Restart the node
$ systemctl reboot
linux/openshift/reboot.txt · Last modified: by 127.0.0.1