Along with 200 T-Shirts for you to “tweet and win”
Working on an open-source project can sometimes be frustrating: we code together but barely see each other.
So, this year, we’re excited to gather the whole team at the next KubeCon Europe. We can’t wait to engage in long-postponed debates around our beloved product, and we’re even more eager to spread the word:
Yes, Træfik is THAT good of a reverse proxy.
If you will be at the conference, come to talk to us there: Containous has set up a booth so we can answer your questions. If you were still undecided about attending — hesitate no more :-)
Our Demo? A Tweet and Win!
To demonstrate the power of Træfik, we’ll ask you to create and deploy a container … in a Kubernetes cluster … that will automatically be exposed on an HTTPS URL … personalized with your username … that could win you a T-shirt … just by writing a single Tweet! (Yes, 140 characters will be enough, you won’t even need 280 of them.)
Want to participate? Here’s how:
- Tweet a (nice) message with the #TraefikIsABlast hashtag
- Eagerly wait for our bot’s (friendly) response
- Click on the provided URL in the message (that looks like https://username.kubecon.containo.us) to see if you’ve won a T-shirt
- If you’ve won, rejoice (without interrupting the current talk) and come claim your prize at our booth
- (Optional) Brag about your trophy and show off
Interested in the Architecture beyond the Demo?
So, what just happened?
Let’s take a look at our architecture from a distance.
Beyond the specific service that scans Tweeter for new messages and deploys the matching containers in Kubernetes, Træfik already embeds the magic required to dynamically expose the result on the internet (on an HTTPS endpoint).
And if you think that Træfik needs a lot of configuration, here is the whole file that does the job:
defaultEntryPoints = "https" [entryPoints] [entryPoints.https] address = ":443" # - - - - - - - - - Listens on port 443 [entryPoints.https.tls] [acme] # - - - - - - - - - - - - - Certificate configuration email = "email@example.com" storage = "/acme/acme.json" entryPoint = "https" [acme.dnsChallenge] provider = "cloudflare" delayBeforeCheck = 30 [[acme.domains]] main = "*.kubecon.containo.us" # Wildcard certificate sans = ["kubecon.containo.us"] [kubernetes] # - - - - - - - - - - - Tells Træfik to listen to Kubernetes
That’s it: less than 20 lines that will never be updated whether there are dozens or even hundreds (or even thousands!) of deployed services. Træfik will automatically detect changes in your Kubernetes cluster and will publish them for you, without any further work on your part.
Træfik is all about making your life easier, and is pretty good at its job.
Now, if you want to set up your first Træfik architecture, you might want to try out the official 5-Minute Quick Start.
See you at our booth! (Or in the comments section below if you can’t be there)
PS: the demo will be online as soon as the KubeCon Key Note starts.
The demo was written by Michael Matur.
Containous is the company that helps Træfik be the successful open-source project it is.
And don’t forget, you’ll always be welcome on the Community Forum.