df1228
1
hi,
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=103.61.38.208
I've to open traefik web ui with url http://k8s.example.com:NodePort,
these 3 url will not work.
http://103.61.38.208
http://103.61.38.208:NodePort
http://k8s.example.com
how to config so I can open http://k8s.example.com without a NodePort ?
Thanks !
@df1228,
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://103.61.38.208:NodePort
does not work, is that the dashboard ingress does not use your IP as a host.
df1228
3
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.
system
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.