this post was submitted on 12 Sep 2024
8 points (100.0% liked)

Kubernetes

866 readers
1 users here now

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/20234044

Do you know about using Kubernetes Debug containers? They're really useful for troubleshooting well-built, locked-down images that are running in your cluster. I was thinking it would be nice if k9s had this feature, and lo and behold, it has a plugin! I just had to add that snippet to my ${HOME}/.config/k9s/plugins.yaml, run k9s, find the pod, press enter to get into the pod's containers, select a container, and press Shift-D. The debug-container plugin uses the nicolaka/netshoot image, which has a bunch of useful tools on it. Easy debugging in k9s!

you are viewing a single comment's thread
view the rest of the comments
[–] nick@midwest.social 2 points 2 months ago

I use debug containers at work almost daily, and k9s pretty much all day. Thank you!