k9s — shell into pod

Open shell in pod container (press 's' on pod)

s # Press 's' on a pod to open a shell (uses first container)

tool
k9s21 commands
tags
k9s

More k9s commands

  • ctrl-d # Press Ctrl+D on selected resource, confirm with Enter

    Delete selected resource (press Ctrl+D, confirm with Enter)

  • k9s -n <ns>

    Open k9s scoped to a single namespace

  • k9s --context <context>

    Open k9s using a specific kubeconfig context

  • # In k9s press ':' then type 'helmreleases' or 'kustomizations'

    Switch resource view: :pods, :svc, :helmreleases, :ns

  • # In k9s press '/' to filter by name pattern

    Type / and a pattern to filter the displayed resources

all 21 k9s commands