Skip to content

Instantly share code, notes, and snippets.

@azhuox
Created November 29, 2020 22: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 azhuox/f4a60c35ab48e1bc10fb9ae1440f9c0c to your computer and use it in GitHub Desktop.
Save azhuox/f4a60c35ab48e1bc10fb9ae1440f9c0c to your computer and use it in GitHub Desktop.
: 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