Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction of Traefik as a Kubernetes Ingress Controller

Ikki SHOKA
October 24, 2018

Introduction of Traefik as a Kubernetes Ingress Controller

Ikki SHOKA

October 24, 2018
Tweet

More Decks by Ikki SHOKA

Other Decks in Technology

Transcript

  1. Introduction of Traefik as a Kubernetes Ingress Controller Kubernetes &

    Cloud Naitive Meetup w/ Liz Rice 25.Oct.2018 - Ikki Shoka @ichigo_abc
  2. 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
  3. Table of Content • What is Traefik • Architecture •

    Web UI • Use Traefik as Ingress Controller • Next…
  4. 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
  5. 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
  6. 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
  7. Annotation configuration ✓ Rate limiting ✓ Redirects ✓ Whitlist ✓

    Custome Headers ✓ …. EntryPoint& Frontend Backend ✓ Load-balancing ✓ Circuit breakers ✓ Maximum Connection ✓ Sticky Sessions
  8. 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 - …