- mongo-config.yaml
- mongo-secret.yaml
- mongo.yaml
- webapp.yaml
minikube start --vm-driver=hyperkit
minikube status
minikube ip
kubectl get node
kubectl get pod
kubectl get svc
kubectl get all
kubectl get pod -o wide
kubectl get node -o wide
kubectl describe svc {svc-name}
kubectl describe pod {pod-name}
kubectl logs {pod-name}
minikube stop
⚠️ Known issue - Minikube IP not accessible
If you can't access the NodePort service webapp with MinikubeIP:NodePort
, execute the following command:
minikube service webapp-service
- mongodb image on Docker Hub: https://hub.docker.com/_/mongo
- webapp image on Docker Hub: https://hub.docker.com/repository/docker/saidaitdriss/nodeapp
- k8s official documentation: https://kubernetes.io/docs/home/