Speed Up Your Cloud Native Applications Deployment Using K3s and Traefik

K3s's Logo
Traefik's Logo

How to Access the Slides?

QRCode to this presentation

How to use these slides?

  • Browse the slides: Use the arrows

    • Change chapter: Left/Right arrows

    • Next or previous slide: Top and bottom arrows

  • Overview of the slides: keyboard’s shortcut "o"

  • Speaker mode (and notes): keyboard’s shortcut "s"

Whoami

manuel

Containous

  • We Believe in Open Source

  • We Deliver Traefik, Traefik Enterprise Edition and Maesh

  • Commercial Support

  • 30 people distributed, 90% tech

Containous Logo

Why K3s & Traefik?

Why, Mr Anderson?

Why, Mr Anderson?

Evolution of Kubernetes

  • 2014: Google Introduces Kubernetes

  • 2015: The year of Kube v1.0 & CNCF

  • 2016: The Year Kubernetes Goes Mainstream!

  • 2017: The Year of Enterprise Adoption & Support

  • 2018: Kubernetes gets bigger and bigger

  • 2019: Kubernetes all over the World

Challenges

  • Kubernetes the hard way to setup

  • Demanding in Ressources, Knowledge…​

  • Complex Concepts

  • Hard to test

What If I Told You?

What If I Told You

That there is a solution?

Here Comes K3s & Traefik!

K3s Project

What is K3s?

K3s is a lightweight, fully compliant production-grade Kubernetes distribution, designed for production workloads in unattended, resource-constrained, remote locations or inside IoT appliances.

How it works

K3s Architecture

Adds

  • Simplified, super-fast installation

  • SQLite3 support in addition to etcd

  • TLS Management

  • Automatic Manifest and Helm Chart management

  • Traefik

Removes

  • Legacy and non-default features

  • Alpha features

  • In-tree cloud providers

  • In-tree storage drivers

  • Docker (optional)

k8s - 5 = k3s ;-)

Why use?

  • Optimized for ARM

  • Simplified Operations

  • Perfect for Edge

Traefik Project

What is Traefik?

Traefik is a dynamic, cloud native edge router, fully designed to make your cloud native applications accessible from the outside. It offers major integrations into for example Kubernetes or Docker Swarm, but also to third-party services such as Lets Encrypt

How it works

Traefik's Architecture

Overview

  • Continuously updates its configuration (No restarts!)

  • Lets Encrypt Support

  • Circuit breakers, retry

  • Websocket, HTTP/2, GRPC ready

  • Provides metrics (Rest, Prometheus, Datadog, Statsd, InfluxDB)

Traefik with ⎈

Traefik with Kubernetes Diagram

Why should I care?

  • Running quick Kubernetes Clusters on Arm, IoT, CI or even locally!

  • Spin up is a matter of seconds

  • Simple to use Ingress Management built in

  • Very low ressource usage

  • Can be easily run in 🐳 Containers

Integration

  • Installed by default as Ingress Controller

  • Preconfigured for HTTPS, Metrics & External-DNS

  • Easily extendable to activate certain features such as Lets Encrypt

k3d aka in 🐳 Containers

deeper

Used as integration test platform in

traefik.logo
traefik ee logo
maesh

Create Cluster

k3d create \
--name="maesh" \
--workers="1" \
--publish="80:80" \
--publish="443:443"

Demo

demo

That’s All Folks!

Thanks

Thank you!

QRCode to this presentation