minikube version
minikube start
kubectl version
kubectl cluster-info
kubectl get nodes
kubectl run kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 --port=8080
kubectl get deployments
NAME READY UP-TO-DATE AVAILABLE AGE
kubernetes-bootcamp 1/1 1 1 73s
kubectl proxy
curl http://localhost:8001/version
kubectl get
- list resources
kubectl describe
- show detailed information about a resource
kubectl logs
- print the logs from a container in a pod
kubectl exec
- execute a command on a container in a pod
brew install kubernetes-cli
brew cask install minikube