Getting 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 the Kubernetes cluster:
Management console
CLI
API
- Go to the folder page and select Managed Service for Kubernetes.
- Click on the name of the Kubernetes cluster you.
- Go to the Node group tab.
Run the command:
$ yc managed-kubernetes node-group list
+----------------------+----------------------+----------------+----------------------+---------------------+---------+------+
| ID | CLUSTER ID | NAME | INSTANCE GROUP ID | CREATED AT | STATUS | SIZE |
+----------------------+----------------------+----------------+----------------------+---------------------+---------+------+
| catvhf4iv6dt8hguut9i | catcafja9ktuc7ven4le | test-nodegroup | cl1ec3le3qv3g2k441sd | 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 section.
Management console
CLI
API
- Go to the folder page and select Managed Service for Kubernetes.
- Click on the name of the Kubernetes cluster you.
- Go to the Node group tab.
- Click on the name of the node group.
Get detailed information about the node group:
$ yc managed-kubernetes node-group get test-nodegroup
id: catvhf4iv6dt8hguut9i
cluster_id: catcafja9ktuc7ven5ny
created_at: "2019-04-09T10:56:22Z"
name: test-nodegroup
status: RUNNING
node_template:
platform_id: standard-v1
resources_spec:
memory: "4294967296"
cores: "1"
core_fraction: "100"
boot_disk_spec:
disk_type_id: network-hdd
disk_size: "103079215104"
v4_address_spec:
one_to_one_nat_spec:
ip_version: IPV4
scale_policy:
fixed_scale:
size: "2"
allocation_policy:
locations:
- zone_id: ru-central1-c
subnet_id: b0c0jfcpqgngfu05rhcj
instance_group_id: cl1ec3le3qv3g2k233sd
node_version: 1.13.3