Skip to content

Instantly share code, notes, and snippets.

@nvpnathan
Created January 22, 2019 21:47
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 nvpnathan/b7d5117f933c44770ae774fc18e20d13 to your computer and use it in GitHub Desktop.
Save nvpnathan/b7d5117f933c44770ae774fc18e20d13 to your computer and use it in GitHub Desktop.
cat cafe-ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: cafe-ingress
spec:
rules:
- host: cafe.mg.lab
http:
paths:
- path: /tea
backend:
serviceName: tea-svc
servicePort: 80
- path: /coffee
backend:
serviceName: coffee-svc
servicePort: 80
tls:
- secretName: cafe-cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment