You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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