kubernetes-cli@1.34

Kubernetes command-line interface for managing clusters

brewmacoslinux
Try with needOr install directly
Source

About

Kubernetes command-line interface

Commands

kubectl

Examples

Get cluster information and connected contexts$ kubectl cluster-info
Deploy an application from a YAML manifest file$ kubectl apply -f deployment.yaml
List all pods running in the current namespace$ kubectl get pods