Slide 1

Slide 1 text

Introduction of Traefik as a Kubernetes Ingress Controller Kubernetes & Cloud Naitive Meetup w/ Liz Rice 25.Oct.2018 - Ikki Shoka @ichigo_abc

Slide 2

Slide 2 text

Who are you? New Grad Infrastructure Engineer Twitter @ichigo_abc Github ❤️ ichigism Jinsei is difficult Experience: - Kubernetes 1.5 months ago - Traefik 5 deys ago

Slide 3

Slide 3 text

Table of Content • What is Traefik • Architecture • Web UI • Use Traefik as Ingress Controller • Next…

Slide 4

Slide 4 text

What is Traefik?

Slide 5

Slide 5 text

What is Traefik? ✓ The Cloud Native Edge Router ✓ Provides stuff like a modern reverse proxy and load balancing ✓ It contains one of CNCF’s Service Proxies ✓ for microservices ✓ Writtin in Go ✓ First Commit 3 years ago ✓ Github ★ 18,277 ✓ Latest version 1.7.3

Slide 6

Slide 6 text

Features ✓Continuously updates its configuration (No restarts❤️) ✓High Availability with cluster mode (beta) ✓Have a simple web UI ✓Websocket, HTTP/2, GRPC ready ✓Circuit breakers ✓Let’s Encrypt ✓Single binary file ✓tiny official docker image : 17.38MB

Slide 7

Slide 7 text

Architecture

Slide 8

Slide 8 text

Architecture Reference: https://docs.traefik.io/basics/

Slide 9

Slide 9 text

Internal architecture Reference: https://docs.traefik.io/basics/

Slide 10

Slide 10 text

Web UI

Slide 11

Slide 11 text

Web UI ✓Traefik Web UI is very simple and provide the magic

Slide 12

Slide 12 text

Traefik as Ingress Controller

Slide 13

Slide 13 text

Use Traefik as Ingress Controller ✓Can use Traefik Helm chart ✓For more information, check out the helm documentation. ✓It’s easy to use ✓Annotations change a configuration

Slide 14

Slide 14 text

Annotation configuration ✓ Rate limiting ✓ Redirects ✓ Whitlist ✓ Custome Headers ✓ …. EntryPoint& Frontend Backend ✓ Load-balancing ✓ Circuit breakers ✓ Maximum Connection ✓ Sticky Sessions

Slide 15

Slide 15 text

Other anottations - traefik.ingress.kubernetes.io/service-weights: | my-app: 99% my-app-canary: 1% - traefik.ingress.kubernetes.io/priority: "3“ - Traefik.ingress.kubernetes.io/auth-type: basic - traefik.ingress.kubernetes.io/redirect-entry-point: https - …

Slide 16

Slide 16 text

Thank you for listening