Notes and code from the Omaha ruby meetup
Install Hypervisor
brew install docker-machine-driver-xhyve
docker-machine-driver-xhyve need root owner and uid
sudo chown root:wheel
Install Minikube https://kubernetes.io/docs/tasks/tools/install-minikube/#install-minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.21.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
minikube start
kubectl get no
kubectl get po
kubectl get svc
kubectl create -f k8s/deployment-app-simple.yaml
kubectl create -f k8s/service-app.yaml
kubectl get po
You should see your Pod
kubectl get svc
You should see your service along with the port that is listening
kubectl get service dans-ruby-app --output="jsonpath="{.spec.ports[0].nodePort}""
minikube ip
192.168.99.100:NodePort
ex 192.168.99.100:32058
kubectl get po -owide -w```