Assign or unassign a machine to or from a machine pool¶
If a machine was originally created outside a machine pool, you can assign it later on an existing cluster. You may also need to unassign a machine from a machine pool, for example, to delete a machine.
To assign or unassign a machine to or from a machine pool:
Log in to the Container Cloud web UI with the
Switch to the required project using the Switch Project action icon located on top of the main left-side navigation panel.
In the Clusters tab, click the required cluster name to open the list of machines and machine pools running on it.
Select from the following options:
To assign a machine to a machine pool:
In the Unassigned Machines section, click the More action icon in the last column of the machine you want to assign and select Assign machine to pool.
A machine spec must match the spec of the assigned machine pool.
You can assign only unassigned machines to a pool.
From the list of available machine pools, select the required machine pool with a spec that matches the machine spec and click Update.
To unassign a machine from the machine pool:
In the corresponding machine pools section, click the More action icon in the last column of the machine you want to unassign and select Unassign from pool.
Confirm your action.
The replicas count automatically decreases by one when you unassign a machine from a pool with a positive replicas count.
If a machine is assigned to a machine pool, the
section of the specific
Machine object automatically updates during pool
configuration. The only
providerSpec field that is not overwritten
maintenance. Do not edit other fields of this section