brew install kubectl
brew cask install docker minikube

Note that on macOS 10.14.5 / VirtualBox 6.0.8 you may need to run spctl kext-consent add VB5E2TV963 in mac recovery mode terminal (command - R on restart) - then proceed :

brew cask install virtualbox

(or download VirtualBox from )

Check versions

docker --version
docker-compose --version
docker-machine --version
minikube version

and start

minikube start --vm-driver=virtualbox


kubectl config view
kubectl config get-contexts 
minikube dashboard
minikube ssh


git clone
cd try-k8s
docker-compose build
kubectl apply -f hello-deployment.yaml
kubectl apply -f hello-service.yaml
kubectl get services

and visit http://localhost


minikube delete

Clean out files in ~/.minikube/ if necessary

minikube config set vm-driver hyperkit
minikube start --vm-driver=hyperkit