rcruzper / kps

:whale: Command-line tool to execute most common actions with kubernetes pods via kubectl and fzf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kps 🐳

Command-line tool to execute most common actions with kubernetes pods via kubectl and fzf

Requirements

Installation

$ brew tap rcruzper/homebrew-tools
$ brew install kps

Usage

kps accepts all kubectl params (i.e. kps -n dev will show all pods running on the dev namespace )

kps allows to execute those actions on each pod:

  • CTRL-i inspects the pod kubectl decribe pod <podName>
  • CTRL-s stops the pod kubectl delete pod <podName>
  • CTRL-l shows pod logs kubectl logs -f <podName>
  • CTRL-e opens a terminal into a pod kubectl exec -it <podName> -- /bin/sh
  • Enter copies pod name into the clipboard

About

:whale: Command-line tool to execute most common actions with kubernetes pods via kubectl and fzf

License:Apache License 2.0


Languages

Language:Shell 100.0%