kubectl
officialscriptablecautioncontainers / infrabrew
Kubernetes · Kubernetes, cluster debugging, and deployments from the terminal.
$ brew install kubectlOne-liner to try
$ kubectl config get-contexts && kubectl get pods -AAgent pack
Quick reference
Install
brew install kubectlVerify
kubectl config current-contextFirst command
kubectl config get-contexts && kubectl get pods -AMachine JSON
/cli/kubectl.jsonAbout
The official CLI from Kubernetes. Kubernetes, cluster debugging, and deployments from the terminal. Supports structured output — good for scripts and agents.
Example workflow
1. kubectl config get-contexts && kubectl get pods -A