Over-View
- Validation JWT Token on Zuul
- Create Transaction-Id on Zuul
Pre-Conditions
Azure Login and get AKS credentials
- az login
- az acr login -n ${ACR_NAME}
- az account set --subscription ${subscription_id}
- az aks get-credentials --resource-group ${AKS_RESOURCE_GROUP} --name ${AKS_CLUSTER_NAME} --admin
Clone code
Deploy Book MicroService
- cd complete/book
- mvn clean package -Dmaven.test.skip=true
- docker build -t ${ACR_NAME}.azurecr.io/book:latest .
- docker push ${ACR_NAME}.azurecr.io/book:latest
- vi deployment.yml --> replace acrname
- kubectl create -f deployment.yml
Deploy Gateway MicroService
Create Ingress
- cd complete/k8s-ingress
- kubectl create -f ingress.yml
- kubectl get ingress
Appendix
{"serverDuration": 72, "requestCorrelationId": "73cdf8acc9871633"}
Add Comment