I'm using k3s version v1.33.4+k3s1 (148243c4)
with traefik v3.3.6
, and override config with traefik-helm-chart
I want to redeploy the service. The deployment file contains Deployment
, Service
, and IngressRouteTCP
. After executing kubectl delete -f deployment.yaml && kubectl apply -f deployment.yaml
, the corresponding IngressRouteTCP port becomes inaccessible.
I see the error message Cannot create service error="service not found"
, and in the logs printed by the configurationwatcher, tcp.routers
contains the ingress default-mec-collect-673acf455cb2dab0b43a
, but tcp.services
indeed doesn't have the corresponding service default-mec-collect-673acf455cb2dab0b43a
.
BUT after I executing kubectl -n kube-system rollout restart daemonset traefik
, traefik will success load all configuration, tcp.routers
and tcp.services
also contains default-mec-collect-673acf455cb2dab0b43a
.
2025-09-10T01:42:50Z ERR github.com/traefik/traefik/v3/pkg/provider/kubernetes/crd/kubernetes_tcp.go:74 > Cannot create service error="service not found" ingress=mec-collect namespace=default providerName=kubernetescrd serviceName=mec-collect servicePort=grpc
2025-09-10T01:42:50Z DBG github.com/traefik/traefik/v3/pkg/server/configurationwatcher.go:227 > Configuration received config={"http":{},"tcp":{"routers":{"clickhouse-clickhouse-673acf455cb2dab0b43a":{"entryPoints":["clickhouse"],"rule":"HostSNI(*
)","service":"clickhouse-clickhouse-673acf455cb2dab0b43a"},"consul-consul-673acf455cb2dab0b43a":{"entryPoints":["consul-ui"],"rule":"HostSNI(*
)","service":"consul-consul-673acf455cb2dab0b43a"},"default-mec-collect-673acf455cb2dab0b43a":{"entryPoints":["mec-collect"],"rule":"HostSNI(*
)","service":"default-mec-collect-673acf455cb2dab0b43a"},"default-mec-nginx-http-673acf455cb2dab0b43a":{"entryPoints":["web"],"rule":"HostSNI(*
)","service":"default-mec-nginx-http-673acf455cb2dab0b43a"},"default-mec-nginx-https-673acf455cb2dab0b43a":{"entryPoints":["websecure"],"rule":"HostSNI(*
)","service":"default-mec-nginx-https-673acf455cb2dab0b43a"},"minio-minio-673acf455cb2dab0b43a":{"entryPoints":["minio"],"rule":"HostSNI(*
)","service":"minio-minio-673acf455cb2dab0b43a"},"postgresql-postgresql-673acf455cb2dab0b43a":{"entryPoints":["postgresql"],"rule":"HostSNI(*
)","service":"postgresql-postgresql-673acf455cb2dab0b43a"},"redis-redis-master-673acf455cb2dab0b43a":{"entryPoints":["redis-master"],"rule":"HostSNI(*
)","service":"redis-redis-master-673acf455cb2dab0b43a"}},"services":{"clickhouse-clickhouse-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.151.138:8123"}]}},"consul-consul-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.234.190:8500"}]}},"default-mec-nginx-http-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.169.14:80"}]}},"default-mec-nginx-https-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.169.14:443"}]}},"minio-minio-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.163.187:9000"}]}},"postgresql-postgresql-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.40.241:5432"}]}},"redis-redis-master-673acf455cb2dab0b43a":{"loadBalancer":{"servers":[{"address":"10.43.83.230:6379"}]}}}},"tls":{},"udp":{"routers":{"default-common-stun-0":{"entryPoints":["stun-udp"],"service":"default-common-stun-0"}},"services":{"default-common-stun-0":{"loadBalancer":{"servers":[{"address":"10.43.147.88:3478"}]}}}}} providerName=kubernetescrd