Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 814 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 814 Bytes

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