Information about existing node groups
Written by
Updated at November 5, 2024
To find out the ID
or NAME
of a node group, get a list of node groups in the Kubernetes cluster or detailed information about the node group.
Getting a list of node groups in a cluster Kubernetes
Get a list of node groups in a Kubernetes cluster:
Management console
CLI
API
- Go to the folder page and select Managed Service for Kubernetes.
- Click the name of the Kubernetes cluster.
- Go to the Nodes manager tab.
Run this command:
yc managed-kubernetes node-group list
Result:
+----------------------+----------------------+----------------+----------------------+---------------------+---------+------+
| ID | CLUSTER ID | NAME | INSTANCE GROUP ID | CREATED AT | STATUS | SIZE |
+----------------------+----------------------+----------------+----------------------+---------------------+---------+------+
| catvhf4iv6dt******** | catcafja9ktu******** | test-nodegroup | cl1ec3le3qv3******** | 2019-04-09 10:56:22 | RUNNING | 2 |
+----------------------+----------------------+----------------+----------------------+---------------------+---------+------+
Getting detailed information about a node group
To access a node group, use the ID
or NAME
parameters from the previous step.
Management console
CLI
API
- Go to the folder page and select Managed Service for Kubernetes.
- Click the name of the Kubernetes cluster.
- Go to the Nodes manager tab.
- Click the name of the node group.
Get detailed information about the node group:
yc managed-kubernetes node-group get test-nodegroup
Result:
id: catvhf4iv6dt********
cluster_id: catcafja9ktu********
created_at: "2019-04-09T10:56:22Z"
...
subnet_id: b0c0jfcpqgng********
instance_group_id: cl1ec3le3qv3********
node_version: 1.13.3