kubernetes-cli@1.30

Command-line tool for managing Kubernetes clusters

brewmacoslinux
Try with needOr install directly
Source

About

Kubernetes command-line interface

Commands

kubectl

Examples

Get information about nodes in your cluster$ kubectl get nodes
Deploy an application from a YAML manifest file$ kubectl apply -f deployment.yaml
View logs from a specific pod$ kubectl logs pod-name -n namespace