Deleting a node group
To delete a node group, use its name or ID.
To access a node group, use its name or unique ID obtained using the command:
ncp managed-kubernetes node-group list
Result:
+----------------------+----------------------+-------------+----------------------+---------------------+---------+------+
| ID | CLUSTER ID | NAME | INSTANCE GROUP ID | CREATED AT | STATUS | SIZE |
+----------------------+----------------------+-------------+----------------------+---------------------+---------+------+
| catt3knapbq5o0n134o1 | cati493bu7ian006a5j7 | k8s-demo-ng | cl1tbm76ms7pv6siti7l | 2019-11-20 12:01:02 | RUNNING | 2 |
+----------------------+----------------------+-------------+----------------------+---------------------+---------+------+
Management console
CLI
To delete a node group:
- Go to the Kubernetes cluster you want to delete a node group from:
- Open the Managed Service for Kubernetes section in the folder.
- Open the Kubernetes cluster.
- Go to the Nodes manager tab.
- On the Node groups tab, click
- In the resulting menu, click Delete.
- In the window that opens, click Delete.
If you don't have the Nebius AI command line interface yet, install and initialize it.
-
Delete the node group:
ncp k8s node-group delete <node group name>
Command result:
done
-
Make sure that the node group was deleted:
ncp managed-kubernetes node-group list
Command result:
+----+------------+------+-------------------+------------+--------+------+ | ID | CLUSTER ID | NAME | INSTANCE GROUP ID | CREATED AT | STATUS | SIZE | +----+------------+------+-------------------+------------+--------+------+ +----+------------+------+-------------------+------------+--------+------+