Hi All,
I have two back-end services (TCP) running in kubernetes namespace which is monitored by the traefik proxy. I want to configure these in traefik proxy to receive the TCP/NON-SSL requests and forward them to matching services. Used the IngressRouteTCP with HostSNI matching rule.
The configuration is working good for TCP/SSL requests. But it not working for TCP/NonSSL request. I tried using HostSNI(*) but need to forward to specific services depending on the SNI.
The sample IngressRouteTCP CRs are:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
- annotations:*
- meta.helm.sh/release-name: test-messaging*
- meta.helm.sh/release-namespace: n1*
- labels:*
- app.kubernetes.io/managed-by: Helm*
- name: bootstrap-test-messaging-ingress*
- namespace: n1*
spec:- entryPoints:*
- web*
- routes:*
- match: HostSNI(
test.domain1.org
)*- services:*
- name: test-messaging-kafka-clusterip-bootstrap*
port: 9095*
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
- annotations:*
- meta.helm.sh/release-name: test-messaging*
- meta.helm.sh/release-namespace: n1*
- labels:*
- app.kubernetes.io/managed-by: Helm*
- name: broker-1-test-messaging-ingress*
- namespace: n1*
spec:- entryPoints:*
- web*
- routes:*
- match: HostSNI(
1-broker-test.domain1.org
)*- services:*
- name: test-messaging-kafka-clusterip-1*
port: 9095*