1. 删除traefik舵图资源:
kubectl -n kube-system delete helmcharts.helm.cattle.io traefik
kubectl -n kube-system delete helmcharts.helm.cattle.io traefik-crd
  1. 停止k3s服务: sudo service k3s stop
  2. 编辑服务文件sudo nano /etc/systemd/system/k3s.service并将此行添加到ExecStart

    --disable traefik \
    
    --disable traefik-crd \
  3. 重新加载服务文件: sudo systemctl daemon-reload
  4. 从自动部署文件夹中删除清单文件: sudo rm /var/lib/rancher/k3s/server/manifests/traefik.yaml
  5. 启动k3s服务: sudo service k3s start
Last modification:July 12th, 2021 at 08:33 pm
If you think my article is useful to you, please feel free to appreciate