Delete a machine pool

We recommend deleting cluster machines using the Container Cloud web UI or API instead of using the cloud provider tools directly. Otherwise, the cluster deletion or detachment may hang and additional manual steps will be required to clean up machine resources.

An operational managed cluster must contain a minimum of 3 Kubernetes manager machines to meet the etcd quorum and 2 Kubernetes worker machines.

The deployment of the cluster does not start until the minimum number of machines is created.

A machine with the manager role is automatically deleted during the cluster deletion. Manual deletion of manager machines is allowed only for the purpose of node replacement or recovery.

Support status of manager machine deletion

  • Since the Cluster releases 17.0.0, 16.0.0, and 14.1.0, the feature is generally available.

  • Before the Cluster releases 16.0.0 and 14.1.0, the feature is available within the Technology Preview features scope for non-MOSK-based clusters.

  • Before the Cluster release 17.0.0 the feature is not supported for MOSK.

To delete a machine pool from a managed cluster:

  1. Log in to the Container Cloud web UI with the m:kaas:namespace@operator or m:kaas:namespace@writer permissions.

  2. Switch to the required project using the Switch Project action icon located on top of the main left-side navigation panel.

  3. In the Clusters tab, click the required cluster name to open the list of machines and machine pools running on it.

  4. Click the More action icon in the required machine pool section and select Delete. Confirm the deletion by selecting Delete All Machines In The Pool and clicking Delete.

    Deleting a machine pool automatically deletes all machines assigned to the pool and frees up the resources allocated to them.