Exec into a pod

Press s on a pod to open a shell session.

s (on selected pod)

tool
k9s21 commands
tags
k9sk8sexecpods

More k9s commands

  • ctrl-d (on selected resource)

    Delete the selected Kubernetes resource. k9s asks you to confirm first.

  • d (on selected resource)

    Show the full kubectl describe output for the selected resource.

  • e (on selected resource)

    Open the resource YAML in your editor right from k9s.

  • k9s --context my-cluster

    Start k9s connected to a specific kubeconfig context.

  • :pod # or :svc :deployment :helmreleases :kustomizations

    Press the : key and type a resource name to open its list.

all 21 k9s commands