Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No deploy traefik also disables ServiceLB #1439

Closed
jishminor opened this issue Feb 21, 2020 · 3 comments
Closed

No deploy traefik also disables ServiceLB #1439

jishminor opened this issue Feb 21, 2020 · 3 comments

Comments

@jishminor
Copy link

Version:

v1.17.2+k3s1

Describe the bug

Specifying no deploy for traefik results in service load balancer also not being deployed.

To Reproduce

# Install k3s using the following command
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 664 --bind-address $THIS_HOST_IP --advertise-address $ADVERTISE_IP --no-deploy=traefik

Expected behavior

Servicelb daemonset and corresponding pod should be deployed.

Actual behavior

Servicelb Daemonset, and consequently its pods, is/are not created.

Additional context

My intention is to install traefik 2 on top of k3s, using their prototype helm chart found here. I would like to simply install k3s, then add my own custom traefik.yaml file to /var/lib/rancher/k3s/server/manifests/. I thought this would be a reasonable approach, however it does not seem to work, as servicelb is not deployed.

@jishminor
Copy link
Author

I found that once traefik was deployed via helm, the servicelb is created.

@ogbofjnr
Copy link

ogbofjnr commented Apr 14, 2020

I have the same issue, spend some time till realize that servicelb is not deployed when --no-deploy=traefik passed to install script. Please fix it or update documentation.

@perklet
Copy link

perklet commented May 6, 2020

I found that once traefik was deployed via helm, the servicelb is created.

I don't think the servicelb is disabled, it's just lazily created. The svclb-xxx pod was not created simply because you don't have a "LoadBalancer" type service, traefik is not required, any LoadBalancer will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants