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

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.