Tool for managing kubernetes cluster resources. Inspired by lf and ranger file managers
Go to file
Digital Studium fc899eec12 Add exec/delete 2024-04-23 21:16:34 +03:00
images Change image 2024-04-19 09:15:13 +03:00
.gitignore Fix shell 2024-04-11 23:57:07 +03:00
LICENSE Add license 2024-04-07 22:56:19 +03:00
README.md Add exec/delete 2024-04-23 21:16:34 +03:00
kls Add exec/delete 2024-04-23 21:16:34 +03:00

README.md

KLS

Description

kls is a cli tool for managing kubernetes cluster resources. Inspired by lf and ranger file managers. It is lightweight and easy to customize

Key bindings for kubectl

  • 1 - get yaml of resource
  • 2 - describe resource
  • 3 - edit resource
  • 4 - logs of pod
  • 5 - exec to pod
  • delete - delete resource

You can customize these bindings or add extra bindings in KEY_BINDINGS variable of kls (in a row #4).

Also you can add additional columns for different api resources in EXTRA_COLUMNS variable (in a row #13).

kls in action

Dependencies

  • python3
  • kubectl
  • batcat

Installation

Download latest kls:

curl -O "https://git.digitalstudium.com/digitalstudium/kls/raw/branch/main/kls"

Then install it:

sudo install ./kls /usr/local/bin/