How do I setup traefik in LKS?

This is not a question but rather a "How to".
I deployed traefik on a small LKS cluster and was able to generate staging certificates. I added the configuration to a gist for anyone needing to do the same.

https://gist.github.com/khusseini/1cd92e21fc0db2caafb5c65230dc22da

Enjoy :)

3 Replies

Thanks for your guide! This should be helpful for other Linode users who are looking to deploy Traefik on Kubernetes. If you're interested in contributing to our Documentation library in addition to the Community Questions site, we have some information available here about how you can do so.

I updated the Gist to use traefik 2.2, not 1.7 and now working with production certificates. It took some tinkering to get it working but finally it works.

https://gist.github.com/khusseini/1cd92e21fc0db2caafb5c65230dc22da

@jyoo, I'll look into contributing to the documentation, thank you for the link.

@jyoo I have worked out the gist to a full article and sent it via the form you linked me to. Thank's again for the nudge

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct