Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for Kubernetes
  • Comparing with other Yandex Cloud services
  • Getting started
    • All guides
    • Connecting to a node over SSH
    • Connecting to a node via OS Login
    • Updating Kubernetes
    • Configuring autoscaling
    • Activating a Kubernetes Terraform provider
    • Installing applications from Yandex Cloud Marketplace using Terraform
    • Working with private Docker image registries
      • Getting information about a Kubernetes cluster
      • Viewing operations with a Kubernetes cluster
      • Creating a Kubernetes cluster
      • Updating a Kubernetes cluster
      • Creating a namespace in a Kubernetes cluster
      • Managing access to a Kubernetes cluster
      • Supporting an IAM workload identity federation in a Kubernetes cluster
      • Getting a list of available master configurations in a Kubernetes cluster
      • Cluster health state monitoring Kubernetes
      • Deleting a Kubernetes cluster
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Getting a list of Kubernetes clusters in a folder
  • Getting detailed information about a Kubernetes cluster
  1. Step-by-step guides
  2. Managing a Kubernetes cluster
  3. Getting information about a Kubernetes cluster

Information about existing Managed Service for Kubernetes clusters

Written by
Yandex Cloud
Updated at April 28, 2026
  • Getting a list of Kubernetes clusters in a folder
  • Getting detailed information about a Kubernetes cluster

To find out the Kubernetes cluster ID or NAME, get a list of Kubernetes clusters in the folder or detailed information about the Kubernetes cluster.

Getting a list of Kubernetes clusters in a folderGetting a list of Kubernetes clusters in a folder

Get a list of Kubernetes clusters in the default folder.

Management console
CLI
API

To get a list of Kubernetes clusters, in the management console, select a folder and go to Managed Service for Kubernetes.

Run this command:

yc managed-kubernetes cluster list

Result:

+----------------------+------------------+---------------------+---------+---------+-------------------------+-------------------+
|          ID          |       NAME       |     CREATED AT      | HEALTH  | STATUS  |    EXTERNAL ENDPOINT    | INTERNAL ENDPOINT |
+----------------------+------------------+---------------------+---------+---------+-------------------------+-------------------+
| cata9ertn6tc******** | test-k8s-cluster | 2019-04-12 10:00:27 | HEALTHY | RUNNING | https://84.201.150.176/ | https://10.0.0.3/ |
+----------------------+------------------+---------------------+---------+---------+-------------------------+-------------------+

Use either the list REST API method for the Cluster resource or the ClusterService/List gRPC API call.

Getting detailed information about a Kubernetes clusterGetting detailed information about a Kubernetes cluster

To access a Kubernetes cluster, use the ID or NAME parameters from the previous section.

Management console
CLI
Terraform
API
  1. In the management console, select a folder.
  2. Go to Managed Service for Kubernetes.
  3. Click the name of the Kubernetes cluster.

Get detailed information about a Kubernetes cluster:

yc managed-kubernetes cluster get test-k8s-cluster

Result:

id: cata9ertn6tc********
folder_id: b1g88tflru0e********
created_at: "2019-04-12T10:00:27Z"
...
ip_allocation_policy:
  cluster_ipv4_cidr_block: 10.13.0.0/16
  service_ipv4_cidr_block: 10.14.0.0/16

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the relevant documentation on the Terraform website or its mirror.

To get information about a Managed Service for Kubernetes cluster:

  1. If you do not have Terraform yet, install it and configure the Yandex Cloud provider.

  2. Create a Terraform configuration file with a description of the yandex_kubernetes_cluster data source in the data section and the requested parameters in the output sections (one per section). For example:

    data "yandex_kubernetes_cluster" "my_cluster" {
      cluster_id = "<cluster_ID>"
    }
    
    output "external_v4_endpoint" {
      value = data.yandex_kubernetes_cluster.my_cluster.master.0.external_v4_endpoint
    }
    

    Where:

    • external_v4_endpoint: Name of the variable whose value will appear in the result.
    • data.yandex_kubernetes_cluster.my_cluster.master.0.external_v4_endpoint: Requested parameter. In our case, it is the cluster’s public IP address.

    For the list of cluster parameters you can request this way, see this Terraform provider guide.

    Tip

    To request all available information about a cluster, add the following output section to the file:

    output "kubernetes_cluster" {
      value = data.yandex_kubernetes_cluster.my_cluster
    }
    
  3. Make sure the configuration files are correct:

    1. In the command line, navigate to the folder containing the current Terraform configuration files.

    2. Run this command:

      terraform validate
      

      Terraform will display any configuration errors detected in your files.

  4. Run this command:

    terraform apply
    

    Terraform will display output variables in the terminal.

  5. To check the result, run the following command by specifying the required variable, e.g.:

    terraform output external_v4_endpoint
    

    Result:

    "https://158.1**.***.***"
    

To get detailed information about a Kubernetes cluster, use the get REST API method for the Cluster resource or the ClusterService/Get gRPC API call.

Was the article helpful?

Previous
Integration with Object Storage
Next
Viewing operations with a Kubernetes cluster
© 2026 Direct Cursus Technology L.L.C.