Skip to content

Instantly share code, notes, and snippets.

@priyankvex
Created February 4, 2018 14:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save priyankvex/05aa1b9d75436803d9f44ef9643c7dc6 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: pets-ingress
spec:
rules:
- host: cats.myweb.com
http:
paths:
- backend:
serviceName: cats-service
servicePort: 80
- host: dogs.myweb.com
http:
paths:
- backend:
serviceName: dogs-service
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment