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!

  • nick
    link
    fedilink
    arrow-up
    2
    ·
    2 个月前

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