Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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