togettoyou / kubectl-lazy

🦥 kubectl plugin to easy to view pod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubectl-lazy

Gif

Install

curl -sSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/togettoyou/kubectl-lazy/main/install.sh | bash

Or you can specify the version:

curl -sSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/togettoyou/kubectl-lazy/main/install.sh | bash -s -- -v 0.0.1

Run

kubectl lazy

Or you can specify kubeconfig:

kubectl lazy -kubeconfig /root/.kube/config

Enable the pprof debug mode:

kubectl lazy -pprof 8888

Uninstall

curl -sSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/togettoyou/kubectl-lazy/main/uninstall.sh | bash

Features

  • pod infos
  • pod events
  • pod logs

About

🦥 kubectl plugin to easy to view pod

License:MIT License


Languages

Language:Go 95.8%Language:Shell 4.2%