Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 685 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 685 Bytes

aspnetcore-istio

Setup

Running on Kubernetes

  • Build docker image docker build -t grade-service:v1 .
  • Run bash ./up.sh
    • This will create a grade service deployment, service, and ingress
  • Get the ingress/gateway ip using export GATEWAY_URL=$(kubectl get po -l istio=ingress -n istio-system -o 'jsonpath={.items[0].status.hostIP}'):$(kubectl get svc istio-ingress -n istio-system -o 'jsonpath={.spec.ports[0].nodePort}')
  • Request grades at $GATEWAY_URL/api/grades
  • Cleanup with bash ./cleanup.sh