Hello all,
I cannot find the problem in my config.
I install traefik with helm with the following values:
traefik:
additionalArguments:
- --api.insecure=true
- --providers.kubernetesingress.ingressclass=traefik
- --accesslog=true
- --log.level=DEBUG
- --entrypoints.web.forwardedheaders.insecure=true
deployment:
imagePullSecrets:
- name: docker-image-pull-secret
podAnnotations:
prometheus.io/port: "9000"
prometheus.io/scrape: "true"
podLabels:
sidecar.istio.io/inject: "true"
globalArguments:
- --metrics.prometheus
image:
name: repo/traefik
tag: v2.10.4
ports:
mongo:
expose: true
nodePort: 30001
port: 30001
protocol: TCP
traefik:
expose: true
exposedPort: 9000
port: 9000
protocol: TCP
resources:
limits:
cpu: 128m
memory: 256Mi
requests:
cpu: 32m
memory: 64Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
service:
type: NodePort
and an ingressrouteTCP
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
annotations:
meta.helm.sh/release-name: traefik
meta.helm.sh/release-namespace: istio-system
creationTimestamp: "2023-09-27T12:51:31Z"
generation: 2
labels:
app.kubernetes.io/managed-by: Helm
name: mongo
namespace: mongodb
resourceVersion: "8716216"
uid: 74c73c9a-69da-4616-b9a3-70df2883ea00
spec:
entryPoints:
- mongo
routes:
- match: HostSNI('*')
services:
- name: mongodb-headless
port: 27017
I can telnet from my localhost, so the nodePort part seems ok, but I cannot connect to mongodb.
on dashboard I don't see any tcp routes
but I see a http svc