Awesome
kubectl-lazy
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