- mongo-config.yaml
- mongo-secret.yaml
- mongo.yaml
- webapp.yaml
minikube start --vm-driver=docker
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/nanajanashia/k8s-demo-app
- k8s official documentation: https://kubernetes.io/docs/home/
- webapp code repo: https://gitlab.com/nanuchi/developing-with-docker/-/tree/feature/k8s-in-hour