Created
December 22, 2017 12:39
-
-
Save garystafford/dff0a73f5bae88b0e7e2933cde087178 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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