Skip to main content
Skip table of contents

Cloud Director Delete Node Pools

Deleting a node pool deletes the Kubernetes nodes and the underlying infrastructure. All nodes will be drained prior to deletion and the pods running on those nodes will be rescheduled.

To delete a node pool from a managed cluster, run:

dkp delete nodepool ${NODEPOOL_NAME} --cluster-name=${CLUSTER_NAME}

Here, example is the node pool to be deleted.

The expected output will be similar to the following example, indicating the node pool is being deleted:

✓ Deleting default/example nodepool resources

Deleting an invalid node pool results in output similar to this example:

dkp delete nodepool ${CLUSTER_NAME}-md-invalid --cluster-name=${CLUSTER_NAME}
MachineDeployments or "no MachineDeployments or MachinePools found for cluster vcd-example" not found

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.