minikube

Install

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

Inspect

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

Deploy

git clone [email protected]:ianhomer/try-k8s.git
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

Clean

minikube delete

Clean out files in ~/.minikube/ if necessary

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