k3s: Enable Traefik dashboard
If you install k3s with the default settings it also installs Traefik as a load balancer. Traefik also offers a dashboard which is very easy to enable. If you go on your k3s machines to the path /var/lib/rancher/k3s/server/manifests you can find their traefik.yaml. To enable the Traefik dashboard you have to add dashboard.enabled: “true” to the yaml. root@k3s-master-1:/var/lib/rancher/k3s/server/manifests# cat traefik.yaml apiVersion: helm.cattle.io/v1 kind: HelmChart metadata: name: traefik namespace: kube-system spec: chart: https://%{KUBERNETES_API}%/static/charts/traefik-1.77.1.tgz set: rbac.enabled: "true" ssl.enabled: "true" metrics.prometheus.enabled: "true" kubernetes.ingressEndpoint.useDefaultPublishedService: "true" dashboard.enabled: "true" root@k3s-master-1:/var/lib/rancher/k3s/server/manifests# cat traefik.yaml apiVersion: helm.cattle.io/v1 kind: HelmChart metadata: name: traefik namespace: kube-system spec: chart: https://%{KUBERNETES_API}%/static/charts/traefik-1.77.1.tgz set: rbac.enabled: "true" ssl.enabled: "true" metrics.prometheus.enabled: "true" kubernetes.ingressEndpoint.useDefaultPublishedService: "true" dashboard.enabled: "true" After a few minutes you will see some extra pods getting started. ...