Created
November 8, 2018 13:51
-
-
Save arush-sal/010e5c8fdfaf7f412d4fecce9e03496f 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: test | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
rules: | |
- host: foo.bar.com | |
http: | |
paths: | |
- path: /foo | |
backend: | |
serviceName: s1 | |
servicePort: 80 | |
- path: /bar | |
backend: | |
serviceName: s2 | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment