How to list kubernetes services in k9s?

It’s documented here:

Key Bindings

K9s uses aliases to navigate most K8s resources.

:alias View a Kubernetes resource aliases

So you have to type:

:svc

EDIT: Hotkeys

You can also configure custom hotkeys.
Here’s my config file ~/.k9s/hotkey.yml
or ~/Library/Application Support/k9s/hotkey.yml

hotKey:
  f1:
    shortCut: F1
    description: View pods
    command: pods
  f2:
    shortCut: F2
    description: View deployments
    command: dp
  f3:
    shortCut: F3
    description: View statefulsets
    command: sts
  f4:
    shortCut: F4
    description: View services
    command: service
  f5:
    shortCut: F5
    description: View ingresses
    command: ingress

Leave a Comment