A simple kubernetes project using Mongo-DB & Mongo-Express to learn about kubernetes concepts like services, secrets, configmaps, deployment etc.
- Docker
- Minikube
- Kubernetes
systemctl start docker
minikube start
mkdir k8s-project
cd k8s-project/
git clone https://github.com/vishu-25/k8s-mongodb-mongoexpress
cd yaml-files/
kubectl apply -f mongo-secret.yaml
kubectl apply -f mongo-configmap.yaml
kubectl apply -f mongo.yaml
kubectl apply -f mongo-express.yaml
Check the staus of the pods using kubectl get pods
and wait till the pods are created.
Once the pods are deployed use
minkube service mongo-express-service
Copy paste the link in your browser or wait for minikube to open the link in your default browser