An open API service indexing awesome lists of open source software.

https://github.com/devops-cicd-team/k8s-basic-project

A small k8s for mongo and mongo-express
https://github.com/devops-cicd-team/k8s-basic-project

k8s minikube mongodb mongoexpress yml

Last synced: 3 months ago
JSON representation

A small k8s for mongo and mongo-express

Awesome Lists containing this project

README

          

commands to run

### kubectl apply commands in order

kubectl apply -f mongo-secret.yaml
kubectl apply -f mongo.yaml
kubectl apply -f mongo-configmap.yaml
kubectl apply -f mongo-express.yaml

### kubectl get commands

kubectl get pod
kubectl get pod --watch
kubectl get pod -o wide
kubectl get service
kubectl get secret
kubectl get all | grep mongodb

### kubectl debugging commands

kubectl describe pod mongodb-deployment-xxxxxx
kubectl describe service mongodb-service
kubectl logs mongo-express-xxxxxx

### give a URL to external service in minikube

minikube service mongo-express-service