Skip to content

Instantly share code, notes, and snippets.

@arush-sal
Created November 8, 2018 13:49
Show Gist options
  • Save arush-sal/144fd3a93322ad0c81ff2d13dfdb5ce6 to your computer and use it in GitHub Desktop.
Save arush-sal/144fd3a93322ad0c81ff2d13dfdb5ce6 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test
spec:
rules:
- host: foo.bar.com
http:
paths:
- backend:
serviceName: s1
servicePort: 80
- host: bar.foo.com
http:
paths:
- backend:
serviceName: s2
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment