This repository contains the docker & kubernetes deployment portion of the Questr Q&A application.
- Frontend
- API Gateway
- User Microservice
- Auth Microservice
- Question Microservice
- GRPC Protos
- Deployment
This package encapsulates Questr's Docker & Kubernetes deployment setup. Deployment is orchestrated within Kubernetes, utilizing Nginx Ingress for routing. SSL encryption is implemented using Let's Encrypt through Cert-Manager.
This configuration will be realized utilizing the repositories mentioned above. You can explore these repositories to view the codebase and configurations used in this setup.
Firstly, create docker images.
$ docker build -t questr-frontend frontend/
$ docker build -t questr-api-gateway api-gateway/
$ docker build -t questr-auth-microservice auth-service/
$ docker build -t questr-question-microservice question-service/
$ docker build -t questr-user-microservice user-service/Create namespace.
$ kubectl create namespace questrThen apply kubernetes files.
# config
$ kubectl apply -f .\config.yaml
# ssl certificate
$ kubectl apply -f .\certificate.yaml
# deployment - ingress
$ kubectl apply -f .\questr.yaml
# ..or if you want use local environment
# you can skip certificate and questr yaml
# apply this for load balancer
$ kubectl apply -f .\config.yamlThis project is licensed under the Beerware License.
If you find this project useful and we ever meet, you might consider buying me a beer in return.
If you have any questions or feedback regarding the project, feel free to get in touch:
- Email: ilkerakyel97@gmail.com
- LinkedIn: İlker Akyel
- Website: ilkerakyel.com
