Delete a cluster machine using web UI

This section instructs you on how to scale down an existing management or managed cluster through the Mirantis Container Cloud web UI.

To delete a machine from a cluster using web UI:

  1. Carefully read the machine deletion precautions.

  2. For the bare metal provider, ensure that the machine being deleted is not a Ceph Monitor. If it is, migrate the Ceph Monitor to keep the odd number quorum of Ceph Monitors after the machine deletion. For details, see Migrate a Ceph Monitor before machine replacement.

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

  4. If the machine is assigned to a machine pool, decrease replicas count of the pool as described in Change replicas count of a machine pool.

  5. Click the More action icon in the last column of the machine you want to delete and select Delete.

  6. Select from the following options:

    1. Select the machine deletion method:

      • Graceful

        Recommended. The machine will be prepared for deletion with all workloads safely evacuated. Using this option, you can cancel the deletion before the corresponding node is removed from Docker Swarm.

      • Unsafe

        Not recommended. The machine will be deleted without any preparation.

      • Forced

        Not recommended. The machine will be deleted with no guarantee of resources cleanup. Therefore, Mirantis recommends trying Graceful or Unsafe option first.

      For deletion workflow of each method, see Overview of machine deletion policies.

    2. Confirm the deletion.

    3. If machine deletion fails, you can reduce the deletion policy restrictions and try another method but in the following order only: Graceful > Unsafe > Forced.

    Confirm the deletion.

    Deleting a machine automatically frees up the resources allocated to this machine.