Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for Kubernetes
  • Comparison 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
      • 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
      • Monitoring cluster state Kubernetes
      • Deleting a Kubernetes cluster
    • Connecting external nodes to the cluster
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Getting a list of operations
  • Getting detailed information about an operation
  1. Step-by-step guides
  2. Managing a Kubernetes cluster
  3. Viewing operations with a Kubernetes cluster

Viewing operations with a Managed Service for Kubernetes cluster

Written by
Yandex Cloud
Updated at May 5, 2025
  • Getting a list of operations
  • Getting detailed information about an operation

All actions with Managed Service for Kubernetes resources are logged as a list of operations. Each operation gets its own unique ID.

Operations enable you to monitor actions with your cluster in real-time. This may be relevant in automating infrastructure creation, where the state of an operation determines the next steps. For example, before creating a node group, you need to track the status of the cluster creation operation.

The service retains operation records for a limited time. To monitor the state of the cluster and log actions with it, use Yandex Monitoring, Yandex Cloud Logging, and Yandex Audit Trails.

Getting a list of operationsGetting a list of operations

Management console
CLI
API

To view operations with all Kubernetes clusters, in the left-hand panel, select Operations. The list that opens also includes operations with the clusters that were deleted.

You can get a list of operations for a specific cluster:

  1. In the management console, open the folder with the cluster.

  2. Select Managed Service for Kubernetes.

  3. Select the cluster.

  4. Go to the Operations panel for the selected cluster.

    You will see a list of operations with the selected cluster.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

To get a list of operations for a Managed Service for Kubernetes cluster, run this command:

yc managed-kubernetes cluster list-operations <cluster_name_or_ID>

Result:

+----------------------+---------------------+----------------------+---------------------+--------+----------------+
|          ID          |     CREATED AT      |      CREATED BY      |     MODIFIED AT     | STATUS |  DESCRIPTION   |
+----------------------+---------------------+----------------------+---------------------+--------+----------------+
| cat5g6mqaccn******** | 2024-05-14 18:40:02 | aje9k8luj4qf******** | 2024-05-14 18:40:03 | DONE   | Update cluster |
| cati1flsiarv******** | 2024-05-14 18:29:13 | aje9k8luj4qf******** | 2024-05-14 18:36:17 | DONE   | Create cluster |
+----------------------+---------------------+----------------------+---------------------+--------+----------------+

By default, information about operations is output as text. To get detailed information, specify the yaml or json output data format using the --format flag:

yc managed-kubernetes cluster list-operations <cluster_name_or_ID> --format yaml

Result:

- id: cat5g6mqaccn********
  description: Update cluster
  created_at: "2024-05-14T18:40:02Z"
  created_by: aje9k8luj4qf********
  modified_at: "2024-05-14T18:40:03Z"
  done: true
  metadata:
    '@type': type.googleapis.com/yandex.cloud.k8s.v1.UpdateClusterMetadata
    cluster_id: cathr91hiupd********
  response:
    '@type': type.googleapis.com/yandex.cloud.k8s.v1.Cluster
    id: cathr91hiupd********
    folder_id: b1g681qpemb4********
    created_at: "2024-05-14T18:29:13Z"
    name: my-k8s-logs
    status: RUNNING
    health: HEALTHY
    network_id: enpphqi8uvcm********
    ...
    service_account_id: ajeevjv1lv01********
    node_service_account_id: ajeevjv1lv01********
    release_channel: REGULAR
- id: cati1flsiarv********
  description: Create cluster
  created_at: "2024-05-14T18:29:13Z"
  created_by: aje9k8luj4qf********
  modified_at: "2024-05-14T18:36:17Z"
  done: true
  metadata:
    '@type': type.googleapis.com/yandex.cloud.k8s.v1.CreateClusterMetadata
    cluster_id: cathr91hiupd********
  response:
    '@type': type.googleapis.com/yandex.cloud.k8s.v1.Cluster
    id: cathr91hiupd********
    folder_id: b1g681qpemb4********
    created_at: "2024-05-14T18:29:13Z"
    name: my-k8s
    status: RUNNING
    health: HEALTHY
    network_id: enpphqi8uvcm********
    ...
    node_service_account_id: ajeevjv1lv01********
    release_channel: REGULAR

Use either the listOperations REST API method for the Cluster resource or the ClusterService/ListOperations gRPC API call.

Getting detailed information about an operationGetting detailed information about an operation

  1. Get a list of operations for the Managed Service for Kubernetes cluster.

  2. Copy the operation ID.

  3. Get detailed information about the operation:

    CLI
    API

    If you do not have the Yandex Cloud CLI yet, install and initialize it.

    The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

    Run this command:

    yc operation get <operation_ID>
    

    Result:

    id: cat5g6mqaccn********
    description: Update cluster
    created_at: "2024-05-14T18:40:02Z"
    created_by: aje9k8luj4qf********
    modified_at: "2024-05-14T18:40:03Z"
    done: true
    metadata:
      '@type': type.googleapis.com/yandex.cloud.k8s.v1.UpdateClusterMetadata
      cluster_id: cathr91hiupd********
    response:
      '@type': type.googleapis.com/yandex.cloud.k8s.v1.Cluster
      id: cathr91hiupd********
      folder_id: b1g681qpemb4********
      created_at: "2024-05-14T18:29:13Z"
      name: my-k8s-logs
      status: RUNNING
      health: HEALTHY
      network_id: enpphqi8uvcm********
      ...
      service_account_id: ajeevjv1lv01********
      node_service_account_id: ajeevjv1lv01********
      release_channel: REGULAR
    

    Use the OperationService/Get gRPC API call.

See alsoSee also

  • Working with operations

Was the article helpful?

Previous
Getting information about a Kubernetes cluster
Next
Creating a Kubernetes cluster
Yandex project
© 2025 Yandex.Cloud LLC