-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
kind/questionNo code change, just asking/answering a questionNo code change, just asking/answering a question
Description
Version:
k3s version v1.0.0 (18bd921)
Describe the bug
I am unable to disable the build-in traefik load balancer.
To Reproduce
According to documentation all files in /var/lib/rancher/k3s/server/manifests are automatically deployed. I have removed the traefik.yaml file from this folder and changed /etc/systemd/system/k3s.service, followed by systemctl daemon-reload (everything as root user, of course).
The new service file has these lines in it:
ExecStart=/usr/local/bin/k3s \
server \
--docker \
--no-deploy traefik \
Restart k3s service with service k3s stop && service k3s start. (yes, I also tried service k3s restart)
Expected behavior
Expected kubectl -n kube-system get pods to not list traefik pod.
Actual behavior
The pod is still restarted on each service restart.
Additional context
Ubuntu 19.10 with Docker 19.03.2.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/questionNo code change, just asking/answering a questionNo code change, just asking/answering a question