Skip to content

Instantly share code, notes, and snippets.

@dshamanthreddy
Forked from caussourd/ingress.yaml
Created March 16, 2018 13:08
Show Gist options
  • Save dshamanthreddy/4e53709785b0f3148f651d2e6a0ee884 to your computer and use it in GitHub Desktop.
Save dshamanthreddy/4e53709785b0f3148f651d2e6a0ee884 to your computer and use it in GitHub Desktop.
Ingress
kind: Ingress
metadata:
name: nginx-ingress
spec:
rules:
- host: website1.com
http:
paths:
- backend:
serviceName: website1
servicePort: 80
- host: website2.com
http:
paths:
- backend:
serviceName: website2
servicePort: 80
- host: website3.com
http:
paths:
- backend:
serviceName: website3
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment