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
      • Connecting to the terminal of a running container
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Working with Kubernetes objects from the management console
  3. Connecting to the terminal of a running container

Connecting to the terminal of a running container

Written by
Yandex Cloud
Updated at April 15, 2026

You can use the Managed Service for Kubernetes management console to connect to a container running in a pod and run commands without restarting or stopping the container. This approach is equivalent to kubectl exec -it <pod_name> -- <shell_name> and enables you to inspect logs during debugging, restart services, and modify configurations.

To connect to the terminal:

Management console
  1. In the management console, navigate to the folder dashboard and select Managed Service for Kubernetes.

  2. Click the cluster name and select Workload in the left-hand panel.

  3. Click the pod name.

  4. In the top-right corner, click Terminal.

    The terminal will open at the bottom of the screen.

  5. Note that for multi-container pods, the terminal will open for the first container specified under spec.containers in the pod manifest.

    To switch to a shell of another container, select it from the drop-down menu in the top-left corner of the terminal window.

The container’s default command shell will open.

Warning

The following error occurs when attempting to access the terminal of containers deployed from minimal or distroless images that do not have a shell:

Connection failed. Terminal shell is not found

In such cases, we recommend you use ephemeral containers for connecting.

See alsoSee also

Pod

Was the article helpful?

Previous
Connecting a BareMetal server as an external node
Next
All tutorials
© 2026 Direct Cursus Technology L.L.C.