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:
$ yc managed-kubernetes node-group list
+----------------------+----------------------+-------------+----------------------+---------------------+---------+------+
| 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
API
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.
- In the Node group tab, click the icon in the row of the node group to be deleted.
- In the menu that opens, click Delete.
- In the window that opens, click Delete.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
-
Delete the node group:
$ yc k8s node-group delete test-nodegroup ....................done
-
Make sure that the node group was deleted:
$ yc managed-kubernetes node-group list +----+------------+------+-------------------+------------+--------+------+ | ID | CLUSTER ID | NAME | INSTANCE GROUP ID | CREATED AT | STATUS | SIZE | +----+------------+------+-------------------+------------+--------+------+ +----+------------+------+-------------------+------------+--------+------+