- Docker
- Minikube
- Kubectl
- Golang
- Protoc
minikube start
eval $(minikube docker-env)
cd k8s/mongodb
kubectl apply -f .
mongo -u admin -p admin --authenticationDatabase admin
use microservices
db.createUser({user: 'user', pwd: 'password', roles:[{'role': 'readWrite', 'db': 'microservices'}]});
show users;
# testing authentication with new user
mongo -u user -p password --authenticationDatabase microservices
use microservices
show collections
# root directory
protoc -I=./messages --go_out=plugins=grpc:. ./messages/*.proto
# root directory
sh build.sh
cd k8s/docker
sh build.sh
cd k8s/services
kubectl apply -f .
minikube tunnel
kubectl get svc api-service
minikube dashboard