Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created December 22, 2017 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/dff0a73f5bae88b0e7e2933cde087178 to your computer and use it in GitHub Desktop.
Save garystafford/dff0a73f5bae88b0e7e2933cde087178 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: voter-ingress
namespace: voter-api
annotations:
kubernetes.io/ingress.class: istio
spec:
tls:
- secretName: istio-ingress-certs
rules:
- http:
paths:
- path: /candidate/.*
backend:
serviceName: candidate
servicePort: 8080
- path: /election/.*
backend:
serviceName: election
servicePort: 8080
- path: /voter/.*
backend:
serviceName: voter
servicePort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment