Skip to content

Instantly share code, notes, and snippets.

@azhuox
Created November 29, 2020 22:47
Embed
What would you like to do?
: networking.k8s.io/v1
kind: Ingress
metadata:
name: simple-fanout-example
spec:
rules:
- host: foo.bar.com
http:
paths:
- path: /foo
pathType: Prefix
backend:
service:
name: service1
port:
number: 8000
- path: /bar
pathType: Prefix
backend:
service:
name: service2
port:
number: 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment