Skip to content

Node Maintenance

How to perform node maintenance for any of the nodes?

Here are the steps for the same:

  1. Get the node and pod details :

    kubectl get pods -owide -n rook-ceph |egrep '<node-name>'
  2. Make the node unschedulable :

    kubectl cordon <nodename>
  3. Drain the node :

    kubectl drain <node name>

    For more details, please refer to Kubernetes documentation.

  4. Shut down / Reboot the node for maintenance.

  5. Once the node is back up uncordon the node :

    kubectl uncordon <node name>


For OSD Maintenance and management, please refer to Ceph OSD Management from documentation.

Back to top