Skip to content

Run the application on Kubernetes locally using “minikube”

The goal of this Exercise is to run your application on Kubernetes locally using “minikube” Requirements:

  1. Install minikube on your laptop by following the tutorial here: https://minikube.sigs.k8s.io/docs/start/
  2. Write a kubernetes “deployment” spec for your main todo app application (see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ )
  3. 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
  4. Configure a kubernetes “ingress” resource (or a NodePort) to access your application: