Last active
March 9, 2018 10:11
-
-
Save Damianofds/044b61e344cdb8d4723ed0919e37b9da to your computer and use it in GitHub Desktop.
Ingress example for the blogpost
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: 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