Hi,
I'm trying to set up for the first time an Mariadb mysql ingress behind Traefik via an IngressRouteTCP on my k8s cluster, but I can't reach it. I'm not using TLS.
This is my conf:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: mariadb-ingressroute
spec:
entryPoints:
- tcp
routes:
- match: HostSNI(`mariadb.kubernetes.domain.lab`)
services:
- name: mariadb-1578414512
port: 3306
tls: {}
I see this messages on my logs, saying that "entrypoint tcp doesn't exist", what I'm missing here?
time="2020-01-09T16:40:10Z" level=debug msg="Configuration received from provider kubernetescrd: {\"http\":{},\"tcp\":{\"routers\":{\"default-mariadb-ingressroute-f3cbace0527cb536a5b2\":{\"entryPoints\":[\"tcp\"],\"service\":\"default-mariadb-ingressroute-f3cbace0527cb536a5b2\",\"rule\":\"HostSNI(`mariadb.kubernetes.itcenter.lab`)\",\"tls\":{\"passthrough\":false}}},\"services\":{\"default-mariadb-ingressroute-f3cbace0527cb536a5b2\":{\"loadBalancer\":{\"servers\":[{\"address\":\"10.233.69.12:3306\"}]}}}},\"tls\":{}}" providerName=kubernetescrd
time="2020-01-09T16:40:10Z" level=debug msg="Added outgoing tracing middleware ping@internal" entryPointName=traefik routerName=ping@internal middlewareType=TracingForwarder middlewareName=tracing
time="2020-01-09T16:40:10Z" level=debug msg="Creating middleware" entryPointName=traefik middlewareType=Recovery middlewareName=traefik-internal-recovery
time="2020-01-09T16:40:10Z" level=error msg="entryPoint \"tcp\" doesn't exist" routerName=default-mariadb-ingressroute-f3cbace0527cb536a5b2@kubernetescrd entryPointName=tcp
Thanks