traefik/pkg/provider/kubernetes/crd/fixtures/with_two_services.yml
2019-07-05 17:24:04 +02:00

20 lines
320 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: test.route
namespace: default
spec:
entryPoints:
- web
routes:
- match: Host(`foo.com`) && PathPrefix(`/foo`)
kind: Rule
priority: 12
services:
- name: whoami
port: 80
- name: whoami2
port: 8080