Sorry if I am in the wrong place. I did an ubuntu microk8s and installed several addons including MetalLB andTraefik.
sudo apt update
sudo apt -y upgrade
sudo apt -y autoremove
sudo snap install microk8s --classic
sudo snap install helm --classic
sudo usermod -a -G microk8s $USER
mkdir -p $HOME/.kube
sudo chown -f -R $USER ~/.kube
echo "alias kubectl='microk8s kubectl'" > ~/.bash_aliases
sudo microk8s status --wait-ready
sudo microk8s kubectl get all --all-namespaces
sudo reboot now
sudo apt install -y git # nfs-common for workers and nfs-kernel-server for master
git config --global --add safe.directory /snap/microk8s/current/addons/community/.git
microk8s kubectl config view --raw > $HOME/.kube/config
microk8s kubectl get nodes
microk8s enable metallb:192.168.1.200-192.168.1.254
microk8s enable dns
microk8s enable dashboard
microk8s enable hostpath-storage
microk8s enable community
microk8s enable traefik
microk8s kubectl get all --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system pod/calico-kube-controllers-796fb75cc-tltkb 1/1 Running 1 (57m ago) 59m
kube-system pod/calico-node-8pk5q 1/1 Running 1 (57m ago) 59m
kube-system pod/coredns-5986966c54-hgbtn 1/1 Running 1 (57m ago) 59m
kube-system pod/dashboard-metrics-scraper-795895d745-rbc8s 1/1 Running 0 32m
kube-system pod/hostpath-provisioner-7c8bdf94b8-7hfk6 1/1 Running 0 31m
kube-system pod/kubernetes-dashboard-6796797fb5-cd8ws 1/1 Running 0 32m
kube-system pod/metrics-server-7cff7889bd-7hmn9 1/1 Running 0 32m
metallb-system pod/controller-5484c5f99f-v7xvv 1/1 Running 0 41m
metallb-system pod/speaker-62dkd 1/1 Running 0 41m
traefik pod/traefik-58db87c5d4-jm7rf 1/1 Running 0 25m
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default service/kubernetes ClusterIP 10.152.183.1 <none> 443/TCP 59m
kube-system service/dashboard-metrics-scraper ClusterIP 10.152.183.37 <none> 8000/TCP 32m
kube-system service/kube-dns ClusterIP 10.152.183.10 <none> 53/UDP,53/TCP,9153/TCP 59m
kube-system service/kubernetes-dashboard ClusterIP 10.152.183.203 <none> 443/TCP 32m
kube-system service/metrics-server ClusterIP 10.152.183.247 <none> 443/TCP 32m
metallb-system service/webhook-service ClusterIP 10.152.183.180 <none> 443/TCP 41m
traefik service/traefik LoadBalancer 10.152.183.29 192.168.1.200 80:31870/TCP,443:32087/TCP 25m
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system daemonset.apps/calico-node 1 1 1 1 1 kubernetes.io/os=linux 59m
metallb-system daemonset.apps/speaker 1 1 1 1 1 kubernetes.io/os=linux 41m
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
kube-system deployment.apps/calico-kube-controllers 1/1 1 1 59m
kube-system deployment.apps/coredns 1/1 1 1 59m
kube-system deployment.apps/dashboard-metrics-scraper 1/1 1 1 32m
kube-system deployment.apps/hostpath-provisioner 1/1 1 1 31m
kube-system deployment.apps/kubernetes-dashboard 1/1 1 1 32m
kube-system deployment.apps/metrics-server 1/1 1 1 32m
metallb-system deployment.apps/controller 1/1 1 1 41m
traefik deployment.apps/traefik 1/1 1 1 25m
NAMESPACE NAME DESIRED CURRENT READY AGE
kube-system replicaset.apps/calico-kube-controllers-796fb75cc 1 1 1 59m
kube-system replicaset.apps/coredns-5986966c54 1 1 1 59m
kube-system replicaset.apps/dashboard-metrics-scraper-795895d745 1 1 1 32m
kube-system replicaset.apps/hostpath-provisioner-7c8bdf94b8 1 1 1 31m
kube-system replicaset.apps/kubernetes-dashboard-6796797fb5 1 1 1 32m
kube-system replicaset.apps/metrics-server-7cff7889bd 1 1 1 32m
metallb-system replicaset.apps/controller-5484c5f99f 1 1 1 41m
traefik replicaset.apps/traefik-58db87c5d4 1 1 1 25m
microk8s kubectl get service -n traefik traefik
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
traefik LoadBalancer 10.152.183.29 192.168.1.200 80:31870/TCP,443:32087/TCP 25m
It looks like the basic install might have resulted in a Traefik ingress that is catching ports 80 and 443 which is all good.
But… how to I edit the Traefik configurations for things like enabling the dashboard? The doc page for the Traefik Addon says the dashboard is served on 8080 as a NodePort but I do not see it nor is it working.