Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for Kubernetes
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Connecting to a node over SSH
    • Creating a configuration file
    • Configuring a Kubernetes cluster network
      • Granting access to an app running in a Kubernetes cluster
      • Using Kubernetes cluster network policies
    • Encrypting secrets
    • Using persistent volumes
      • Dynamically preparing volumes
      • Statically preparing volumes
      • Managing storage classes
      • Expanding a volume
      • Mounting a volume in Block mode
    • Managing a Kubernetes cluster
      • Adding Kubernetes cluster credentials to the kubectl configuration file
      • Getting information about a Kubernetes cluster
      • Creating a Kubernetes cluster
      • Editing a Kubernetes cluster
      • Deleting a Kubernetes cluster
    • Managing a node group
      • Getting information about a node group
      • Creating a node group
      • Editing a node group
      • Deleting a node group
  • Solutions
    • Integration with Container Registry
    • Running workloads with GPUs
    • Making backups to Object Storage
  • Concepts
    • Relationship between service resources
    • Release channels and updates
    • Using Kubernetes API objects
      • Volume
      • Service
    • Node group
      • Autoscaling node groups
      • Evicting pods from a node
      • Dynamic resource allocation for a node
      • Node groups with GPUs
    • Kubernetes cluster network policies
    • Quotas and limits
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • ClusterService
      • NodeGroupService
      • VersionService
      • OperationService
    • REST
      • Overview
      • Cluster
        • Overview
        • create
        • delete
        • get
        • list
        • listNodeGroups
        • listNodes
        • listOperations
        • start
        • stop
        • update
      • NodeGroup
        • Overview
        • create
        • delete
        • get
        • list
        • listNodes
        • listOperations
        • update
      • Version
        • Overview
        • list
  • Questions and answers
  1. Step-by-step instructions
  2. Managing a node group
  3. Getting information about a node group

Getting information about existing node groups

  • Getting a list of node groups in a cluster Kubernetes
  • Getting detailed information about a node group

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
  1. Go to the folder page and select Managed Service for Kubernetes.
  2. Click on the name of the Kubernetes cluster you.
  3. 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 |
+----------------------+----------------------+----------------+----------------------+---------------------+---------+------+

To get the list of node groups in the default folder, use the list method for the NodeGroup resource.

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
  1. Go to the folder page and select Managed Service for Kubernetes.
  2. Click on the name of the Kubernetes cluster you.
  3. Go to the Node group tab.
  4. 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

You can get detailed information about a node group using the get method for the NodeGroup resource.

In this article:
  • Getting a list of node groups in a cluster Kubernetes
  • Getting detailed information about a node group
Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC