A task to remove Advanced Cluster Management (ACM) from an OpenShift cluster
OpenShift Node Removal Task¶
This task manages the safe removal of a node from an OpenShift cluster. It handles proper workload draining, node cordoning, and cleanup of cluster resources associated with the node.
Requirements¶
Cluster Access¶
- Administrative access to OpenShift cluster
- Valid kubeconfig configuration
- Cluster-admin privileges
- Node management permissions
Node State¶
- Node should be identified for removal
- Workloads should be able to be rescheduled
- Sufficient cluster capacity for workload migration
Usage¶
Basic Node Removal¶
# Apply node removal task
drpcli machines tasks add <machine-uuid> openshift-cluster-remove-node
# Monitor node status
oc get nodes
Removal Process¶
- Cordons node to prevent new workloads
- Drains workloads with:
- Force flag for stuck pods
- Deletion of local data
- Respect for pod disruption budgets
- Removes node from cluster
- Updates cluster configuration