Switch context

Start k9s connected to a specific kubeconfig context

k9s --context my-cluster

tool
k9s21 commands
tags
k9sk8scontextkubeconfig

More k9s commands

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

    Navigate to a resource type by pressing ':' then typing the resource name

  • /pattern # Press '/' then type filter string, Esc to clear

    Filter listed resources by name pattern (press '/' to activate)

  • d # Press 'd' on selected resource to view describe output

    Describe selected resource (equivalent to kubectl describe)

  • l # Press 'l' on a pod; '0' for all containers, 'w' to wrap

    View pod logs (press 'l' on pod, '0' for all containers)

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

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

all 21 k9s commands