Use this command to a gracefully reboot of nodes in an OpenShift cluster mReboot all MachineConfigPoolsachine config pool:
Reboot all master MachineConfigPools
oc adm reboot-machine-config-pool mcp/master
Reboot all worker MachineConfigPools
oc adm reboot-machine-config-pool mcp/worker
Reboot all MachineConfigPools
oc adm reboot-machine-config-pool mcp/master mcp/worker