TransWikia.com

How to list kubernetes services in k9s?

Stack Overflow Asked by Matthias M on December 23, 2020

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

One Answer

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

Correct answer by Matthias M on December 23, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP