This is a cache of https://docs.openshift.com/container-platform/4.10/virt/node_maintenance/virt-resuming-node.html. It is a snapshot of the page at 2024-11-25T18:02:05.345+0000.
Resuming a node from maintenance mode - Node maintenance | Virtualization | OpenShift Container Platform 4.10
×

Resuming a node brings it out of maintenance mode and makes it schedulable again.

Resume a node from maintenance mode from the web console, cli, or by deleting the NodeMaintenance custom resource.

Resuming a node from maintenance mode in the web console

Resume a node from maintenance mode using the Options menu kebab found on each node in the ComputeNodes list, or using the Actions control of the Node Details screen.

Procedure
  1. In the OpenShift Container Platform console, click ComputeNodes.

  2. You can resume the node from this screen, which makes it easier to perform actions on multiple nodes in the one screen, or from the Node Details screen where you can view comprehensive details of the selected node:

    • click the Options menu kebab at the end of the node and select Stop Maintenance.

    • click the node name to open the Node Details screen and click ActionsStop Maintenance.

  3. click Stop Maintenance in the confirmation window.

The node becomes schedulable, but virtual machine instances that were running on the node prior to maintenance will not automatically migrate back to this node.

Resuming a node from maintenance mode in the cli

Resume a node from maintenance mode by making it schedulable again.

Procedure
  • Mark the node as schedulable. You can then resume scheduling new workloads on the node.

    $ oc adm uncordon <node1>

Resuming a node from maintenance mode that was initiated with a NodeMaintenance CR

You can resume a node by deleting the NodeMaintenance CR.

Prerequisites
  • Install the OpenShift Container Platform cli oc.

  • Log in to the cluster as a user with cluster-admin privileges.

Procedure
  • When your node maintenance task is complete, delete the active NodeMaintenance CR:

    $ oc delete -f nodemaintenance-cr.yaml
    Example output
    nodemaintenance.nodemaintenance.kubevirt.io "maintenance-example" deleted