Skip to content

How to install traefik on agent nodes? #9972

Answered by brandond
HouzuoGuo asked this question in Q&A
Discussion options

You must be logged in to vote

This page explains that traefik is automatically installed for servers alone

It does not say that anywhere, nor is that true. Traefik runs only a single replica by default, so it will run on whatever node it can first be scheduled to. If you want more replicas, you can use kubectl scale deployment to ask for additional pods to be run.

Note that by default the ServiceLB daemonset allows access to the traefik pod from all nodes, even if there is only a single replica running on a single node. This is also covered in the docs:

The Traefik ingress controller deploys a LoadBalancer Service that uses ports 80 and 443. By default, ServiceLB will expose these ports on all cluster members.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HouzuoGuo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants