kubernetes

Following https://kubernetes.io/docs/setup/minikube/ ...

Install

brew cask install minikube
brew cask install virtualbox

Start

minikube start

Run

kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
kubectl expose deployment hello-minikube --type=NodePort
kubectl get pod
curl (minikube service hello-minikube --url)
kubectl delete services hello-minikube
kubectl delete deployment hello-minikube
minikube stop
Cheat Sheet
kubectl cluster-info