Wondering how to disable traefik and helm addon on...
# k3s
l
Wondering how to disable traefik and helm addon on my existing cluster
For example, to disable traefik from being installed on a new cluster, or to uninstall it and remove the manifest from an existing cluster, you can start K3s with
--disable=traefik
. Multiple items can be disabled by separating their names with commas, or by repeating the flag.
From this document, does using
--disable=traefik
arg from the server start cmd also works the same? or it needs to be from installation cmd?
m
Hello Giovan! Rerunning the install script and adding such flags should do the trick.
h
I do not believe it needs to be done from the install script. I have k3s installed without using the install script. My
/etc/rancher/k3s/config.yaml
file on my master contains:
Copy code
disable:
  - traefik
That is read when the server/master starts. You could put it on the command line of the server too. However if you have already started the server with traefik, I do not know if there are any resources that would now need to be cleaned up.
m
Yes, that should do the trick too! (I prefer to set them in configuration file too)