Additional entrypoints are not exposed through kubernetes service

Hello,

I'm using the latest traefik Helmchart in order deploy traefik on k8s cluster. Currently I'm struggling to create an additional entrypoint to expose i.e. maria-db through traefik.

ports:
  web:
    port: 8080
    redirectTo:
      port: websecure
  websecure:
    port: 9443
    exposedPort: 443
    protocol: TCP
    tls:
      enabled: true
  mariadb-prod:
    port: 13306
    exposedPort: 3306
    protocol: TCP

But port 3306 is not exposed through the traefik-service:
image

While the entrypoint has been created:
image

Just a sidenote - Another weird behaviour is that if I'm rename web and websecure to other nameslike webtest and websecuretest, I have 4 entrypoints at the end:

web
websecure
webtest
websecuretest

Thanks in Advance for your help!

Solved by adding:

    expose:
      default: true

to each port definition.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.