DEV Community

Agik Setiawan
Agik Setiawan

Posted on

4 3

Access container in Kubernetes with CLI

First we must get list of pod with command

kubectl get pod
Enter fullscreen mode Exit fullscreen mode

for access container we use pod name like bellow

kubectl exec --stdin --tty POD_NAME -- /bin/bash
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

AI Agent image

How to Build an AI Agent with Semantic Kernel (and More!)

Join Developer Advocate Luce Carter for a hands-on tutorial on building an AI-powered dinner recommendation agent. Discover how to integrate Microsoft Semantic Kernel, MongoDB Atlas, C#, and OpenAI for ingredient checks and smart restaurant suggestions.

Watch the video 📺

👋 Kindness is contagious

Dive into this insightful write-up, celebrated within the collaborative DEV Community. Developers at any stage are invited to contribute and elevate our shared skills.

A simple "thank you" can boost someone’s spirits—leave your kudos in the comments!

On DEV, exchanging ideas fuels progress and deepens our connections. If this post helped you, a brief note of thanks goes a long way.

Okay