Information about existing node groups
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
- Go to the folder page and select Managed Service for Kubernetes.
- Click on the name of the Kubernetes cluster.
- Go to the Node group tab.
Run the command:
ncp managed-kubernetes node-group list
Getting detailed information about a node group
To access a node group, use the ID
or NAME
parameters from the previous section.
Management console
CLI
- Go to the folder page and select Managed Service for Kubernetes.
- Click on the name of the Kubernetes cluster.
- Go to the Node group tab.
- Click on the name of the node group.
Get detailed information about the node group:
ncp managed-kubernetes node-group get test-nodegroup
Result:
id: catvhf4iv6dt8hguut9i
cluster_id: catcafja9ktuc7ven5ny
created_at: "2019-04-09T10:56:22Z"
...
subnet_id: b0c0jfcpqgngfu05rhcj
instance_group_id: cl1ec3le3qv3g2k233sd
node_version: 1.13.3