2019-06-11 13:12:04 +00:00
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRouteTCP
|
|
|
|
metadata:
|
2019-07-05 15:24:04 +00:00
|
|
|
name: test.route
|
2019-06-11 13:12:04 +00:00
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- foo
|
|
|
|
|
|
|
|
routes:
|
|
|
|
- match: HostSNI(`foo.com`)
|
|
|
|
services:
|
|
|
|
- name: whoamitcp
|
|
|
|
port: 8000
|
2019-09-13 18:00:06 +00:00
|
|
|
weight: 2
|
2019-06-11 13:12:04 +00:00
|
|
|
- name: whoamitcp2
|
|
|
|
port: 8080
|
2019-09-13 18:00:06 +00:00
|
|
|
weight: 3
|