traefik/pkg/provider/kubernetes/crd/fixtures/tcp/with_different_services_ns.yml
2022-02-21 12:40:09 +01:00

32 lines
588 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: test.route
namespace: default
spec:
entryPoints:
- foo
routes:
- match: HostSNI(`foo.com`)
services:
# without namespace
- name: whoamitcp
port: 8000
weight: 2
# with default namespace
- name: whoamitcp2
namespace: default
port: 8080
weight: 3
# with custom namespace
- name: whoamitcp3
namespace: ns3
port: 8083
weight: 4
# with unknown namespace
- name: whoamitcp
namespace: unknowns
port: 8080