This is a blog-type application where I will share the things that I find interesting about what I'm doing with technology.
pre-requisites:
- install docker
- install docker-mac-net-connect (macOS only)
- install minikube
- update
/etc/hoststo include (runminikube ipto get ip)
minikube-ip app.local
- Start
minikubewith ingress addon
minikube start --addons=ingress
- Deploy the secrets to the cluster
- In another terminal, run:
sudo minikube tunnel
- Deploy the application, in the project folder, run:
kubectl apply -k kubernetes/dev
When developing locally, I've noticed that connections being made via ingress can fail. Restarting docker-mac-net-connect and then restarting the tunnel for minikube has helped me:
sudo brew services restart docker-mac-net-connect
sudo minikube tunnel