News for hackers. Stuff that matters.
Re:Kubernetes at Home with K3s by detaro on Sunday December 05, 2021 @08:54AM (#29449264)
> Does Traefik autodetect the containers from the Docker socket?

Yes, it can do that. you can put annotations(? tags? I forget what the docker terminology is) on containers that Traefik reads so it knows "expose port xyz on this container as https://example.com".

Re:Kubernetes at Home with K3s by stavros on Sunday December 05, 2021 @09:09AM (#29449344)
Hmm very interesting, I'll need to play with that and add annotation support on Harbormaster so it works out of the box, thanks!
Re:Kubernetes at Home with K3s by andrelaszlo on Sunday December 05, 2021 @02:07PM (#29451954)
That would be really cool. I might mess around with it around Christmas. If I run into any rough edges around labels (Traefik uses labels like `traefik.enable=true` https://doc.traefik.io/traefik/reference/dynamic-configurati...) I'll submit an issue or PR.
Re:Kubernetes at Home with K3s by stavros on Sunday December 05, 2021 @02:09PM (#29451971)
Excellent, thanks! I think a label config item should be enough to get Traefik working, but I'll know more after I look at it.