Problem:
If you change the k3os traefik configuration in /var/lib/rancher/k3s/server/manifests/traefik.yaml
directly, all changes will be lost after a reboot.
Solution:
sudo vi /var/lib/rancher/k3os/config.yaml
- Add to the top level k3os part the following:
k3s_args:
- server
- "--no-deploy=traefik"