Created
July 5, 2019 06:54
-
-
Save justindavies/619048597122f74ab5a0b8d19dc1b58d 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: api-ingress | |
annotations: | |
nginx.ingress.kubernetes.io/ssl-redirect: "false" | |
nginx.ingress.kubernetes.io/enable-cors: "true" | |
nginx.ingress.kubernetes.io/use-regex: "true" | |
spec: | |
rules: | |
- host: inkl.in | |
http: | |
paths: | |
- path: /sitemaps/.* | |
backend: | |
serviceName: sitemaps | |
servicePort: 80 | |
- path: / | |
backend: | |
serviceName: frontend | |
servicePort: 80 | |
- host: api.inkl.in | |
http: | |
paths: | |
- path: /filing | |
backend: | |
serviceName: api-db | |
servicePort: 80 | |
- path: /readability | |
backend: | |
serviceName: api-nlp | |
servicePort: 80 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment