Skip to content

Instantly share code, notes, and snippets.

@elcolie
Created March 4, 2019 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elcolie/19da63c1b0153341a647a032814d4896 to your computer and use it in GitHub Desktop.
Save elcolie/19da63c1b0153341a647a032814d4896 to your computer and use it in GitHub Desktop.
ingress rules
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: webapp-ingress
spec:
rules:
# - host: my.kubernetes.example
- host: singh.hbot.io
http:
paths:
- path: /webapp1
backend:
serviceName: webapp1-svc
servicePort: 80
- path: /webapp2
backend:
serviceName: webapp2-svc
servicePort: 80
- backend:
serviceName: webapp3-svc
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment