Skip to content

digitalstudium/kls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KLS

Description

kls is a cli wrapper around kubectl written in rust.

Key bindings

For kubectl

  • Ctrl+y - get Yaml of resource
  • Ctrl+d - Describe resource
  • Ctrl+e - Edit resource
  • Ctrl+l - Logs of pod
  • Ctrl+x - eXec into pod
  • Ctrl+n - Network debug of pod (with nicolaka/netshoot container attached)
  • Ctrl+a - Access logs of istio sidecar
  • Ctrl+p - exec into istio-Proxy sidecar
  • delete - delete resource

Other:

  • / - enter filter mode
  • Escape or q - exit filter mode or kls itself
  • Backspace - remove letter from filter
  • TAB, arrow keys, PgUp, PgDn, Home, End - navigation
  • Ctrl+r - reload namespaces and kinds
  • Ctrl+s - switch to another context

kls in action

Installation

Dependencies

batcat:

sudo apt install bat -y

For jaq and hl installation refer to respective repositories:

For kubectl installation refer to kubectl installation guide

kls installation

cargo install --git https://github.com/digitalstudium/kls

About

kls is a cli wrapper around kubectl written in rust.

Resources

Stars

Watchers

Forks

Releases

No releases published