Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ingress example for the blogpost
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nginx-ingress
annotations:
ingress.kubernetes.io/proxy-body-size: 100M
ingress.kubernetes.io/whitelist-source-range: "76.190.128.220/24,98.202.168.120/32,76.34.172.28/32"
kubernetes.io/ingress.class: "nginx"
ingress.kubernetes.io/app-root: "/"
spec:
tls:
- hosts:
- staging.omnius.com
secretName: thecert
rules:
- host: staging.omnius.com
http:
paths:
- path: /app
backend:
serviceName: frontend
servicePort: 80
- path: /detect
backend:
serviceName: detector
servicePort: 80
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.