- A demonstration microservices application for Allok8
Minikube Installation
Minikube Start
- start minikube
minikube start --driver=hyperkit
Minikube Start for test with applications that use ingress-nginx
minikube start
minikube addons enable ingress
Note for Minikube Users and the Docker Driver
Recent versions of Minikube will use the docker driver by default when you run minikube start. On Windows or macOS, the docker driver is not compatible with an ingress, which we will be using throughout the course.
https://minikube.sigs.k8s.io/docs/drivers/docker/#known-issues
To avoid this issue, you can pass the --driver
flag with a specific driver or --vm=true
macOS
minikube start --vm=true
or
minikube start --driver=hyperkit
or
minikube start --driver=virtualbox
Windows:
minikube start --vm=true
or
minikube start --driver=hyperv
or
minikube start --driver=virtualbox
- if using virtual box there is a known installation error
Deployment
- In microservices-proof directory, deploy infra/k8s
kubectl apply -f infra/k8s
- verify running pods and services
kubectl get pods -A
kubectl get svc -A
For major changes, please open an issue first to discuss what you would like to change, pull requests are welcome. Thank you!
- Justin Gillespie - jgillespie0715