How to list kubernetes services in k9s?

Viewed 10437

Ho can I list the kubernetes services in k9s?

By default only the pods and deployments are shown.

It's possible as shown here and I'm using the current k9s version 0.7.11

1 Answers

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

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
Related