Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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