on ubuntu 18.04 with microk8s as a single node k8s cluster for testing.
traefik installed like this
helm install --name traefik stable/traefik --set dashboard.enabled=true,dashboard.domain=k8s.example.com,externalIP=126.96.36.199
I've to open traefik web ui with url http://k8s.example.com:NodePort,
these 3 url will not work.
how to config so I can open http://k8s.example.com without a NodePort ?
When using baremetal (non cloud provider) installations, you either have to:
- Use an ingress on your overlay network (using SDN extensions)
- Use a tool like MetalLB to handle your nodeports
- Use nodeports.
The reason that
http://188.8.131.52:NodePort does not work, is that the dashboard ingress does not use your IP as a host.
thanks for your explanation.
i don't understand the first one, could you elaborate pls ?
i'm struggling on setup metallb with microk8s.
If you are using an overlay network such as Flannel/Weave/Calico, you can have other network ingress points (outside of the kubernetes cluster).
However these are advanced networking configurations, and are not practical for small clusters.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.