aws eks update-kubeconfig --name <cluster-name>
5. Add Amazon EBS CSI Driver Add-On ( Follow StackOverflow )
kubectl get pods -n kube-system
watch kubectl get all
kubectl exec -it mongodb-0 -- mongosh
use admin # Change DB to admin
db.auth('<your-username-from-mongodb.yaml>', '<your-password-from-mongodb.yaml>') # auth
use erp # Change DB to erp
db.createUser({ user: "<new-user>", pwd: "<new-pass>", roles: ["readWrite", "dbAdmin"] }) # Create user in erp db
db.testcol.insertOne({}) # Dummy Insert on erp
exit
kubectl exec -it mongodb-0 -- /bin/bash
mongosh mongodb://<new-user>:<new-pass>@mongodb-0.mongodb-svc.default.svc.cluster.local:27017/erp?readPreference=nearest
kubectl apply -k 6-Backend/dev
kubectl apply -k 6-Backend/prod