Skip to content

Instantly share code, notes, and snippets.

@r4rohan
Created May 31, 2020 12:57
Show Gist options
  • Save r4rohan/560f9ecf502108c0923ffbc1f9e11b3a to your computer and use it in GitHub Desktop.
Save r4rohan/560f9ecf502108c0923ffbc1f9e11b3a to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nginx-ingress
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-body-size: 25m
spec:
rules:
- host: domain-name.com
http:
paths:
- path: /
backend:
serviceName: python-app
servicePort: 5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment