Follow along with Les Jackson's Course
- Clone the repo
- Build images:
docker build -t <your_docker_user>/platform_service ./PlatformService
docker build -t <your_docker_user>/command_service ./CommandService
- Push images to Docker Hub:
docker push <your_docker_user>/platform_service
docker push <your_docker_user>/command_service
- Deploy SQL Server:
- Create Secret with name
mssql
and keySA_PASSWORD
kubectl apply -f ./K8S/mssql-plat-depl.yaml
- Create Secret with name
- Deploy Command Service:
kubectl apply -f ./K8S/commands-depl.yaml
- Deploy Platform Service:
kubectl apply -f ./K8S/platform-depl.yaml
- Deploy Ingress:
kubectl apply -f ./K8S/ingress.yaml
Note: MS SQL Password is stored in appsettings.Production.json
and appsettings.Development.json
files. These files are not included in the repo. You will need to create them and add the password to them.
Note: images are automatically published to aawadall/platform_service and aawadall/command_service