Hi all!

I’ve a background as Linux sysadmin (not much, couple of years) and I’m facing the challenge to setup a Kubernetes cluster.

One of the requirements is to use Traefik.

I’m finding A LOT of how to online but they are all different from each other.

Do you know a good guide to do such things? The K8s cluster is up and running, Traefik is the problem.

I can get it up, access the dashboard, but that’s all. I tried to test it using the example application “whoami” and I can see the app in the dashboard but I can access it only by localhost curl on the node where it runs.

Thanks a lot!

  • myogg@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Definitely a good start. This K3s ansible playbook will provision a cluster for you (with traefik installed).

    https://github.com/k3s-io/k3s-ansible

    With a few tweaks you can install metallb which will give traefik a static IP, a few DNS entries and you’ll be good to go.