https://rancher.com/ logo
#k3s
Title
# k3s
a

adamant-kite-43734

12/04/2022, 6:44 PM
This message was deleted.
c

creamy-pencil-82913

12/04/2022, 6:47 PM
It’s a map, not a list
Copy code
ports:
      minecraft:
        port: 25565
        exposedPort: 25565
        expose: true
        protocol: TCP
It looks like you’re trying to set that to something you’d put in a pod spec, but that’s not what it is. Did you look at the chart values? https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml#L473-L478
For stuff like this, where its just bare TCP or UDP and you aren’t doing any http request routing or anything, I really don’t see the point in exposing it via Traefik instead of just setting up a TCP LoadBalancer service. Its just a bunch of extra configuration and latency with no value add.
e

enough-carpet-20915

12/04/2022, 7:02 PM
I was planning on running mc-router, but I guess if I do NodePort with that the LB will just pick up whichever node is running mc-router and never set it to more than 1 replica
21 Views