Run the application on Kubernetes locally using “minikube”
The goal of this Exercise is to run your application on Kubernetes locally using “minikube” Requirements:
- Install minikube on your laptop by following the tutorial here: https://minikube.sigs.k8s.io/docs/start/
- Write a kubernetes “deployment” spec for your main todo app application (see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ )
- Run MongoDB in minikube as well. You can either write your own statefulset for the MongoDB container you already have, or use a public helm chart for MongoDB
- Configure a kubernetes “ingress” resource (or a NodePort) to access your application:
- https://kubernetes.io/docs/concepts/services-networking/ingress/
- https://kubernetes.io/docs/concepts/services-networking/service/#type- nodeport
- Information about accessing services inside minikube: https://minikube.sigs.k8s.io/docs/handbook/accessing/