Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Routing Your Microservices Architecture to Ease...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
DevOps Gathering
March 10, 2020
Programming
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Routing Your Microservices Architecture to Ease DevOps Enterprise Transformation by Manuel Zapf
DevOps Gathering
March 10, 2020
More Decks by DevOps Gathering
See All by DevOps Gathering
Hacking Terraform by Constantin Weisser
devopsgatheringio
1
280
The Road to Reliability: Infrastructure Testing explained by Constantin Weisser
devopsgatheringio
1
320
Take MicroProfile to the Clouds with Quarkus by Dirk Weil
devopsgatheringio
0
230
Tracing - a Journey to Tactical Insights by Florian Kückelkorn
devopsgatheringio
0
290
Testable Kubernetes Operators? by Marcel Müller
devopsgatheringio
0
310
How Containerized Pipelines Can Boost Your CI/CD by Nico Meisenzahl
devopsgatheringio
0
200
The First Decade of DevOps is Over by Konstanin Diener
devopsgatheringio
1
190
From Zero to Hero - Onboarding with GitOps by Mario Kleinsasser
devopsgatheringio
0
170
Building a Graph User-Interface for Malware-Analysis by Stefan Hausotte
devopsgatheringio
0
290
Other Decks in Programming
See All in Programming
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
430
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
110
業務時間外もAIに働いてもらう話
colorful12
3
10k
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.9k
Hono + Inertia + React で LP を構築した話
oukayuka
2
220
アクセシビリティから考える情報設計
high_g_engineer
0
350
スマート反転とウェブアクセシビリティ
camiha
0
170
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
490
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
230
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
640
デプロイ直後のレイテンシスパイクを調べたら、 Railsの仕様にたどり着いた
nhsykym
0
110
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
140
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
520
Rails Girls Zürich Keynote
gr2m
96
14k
Skip the Path - Find Your Career Trail
mkilby
1
220
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Faster Mobile Websites
deanohume
310
32k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
230
Transcript
Routing Your Microservices Architecture To Ease DevOps Enterprise Transformation Devops
Gathering 2020 1
Whoami Manuel Zapf Head of Product Open Source @ Maintainer
on Containous Trae k @mZapfDE SantoDE 2
Containous We Believe in Open Source We Deliver Trae k,
Trae k Enterprise Edition, Maesh Commercial Support 30 people distributed, 90% tech https://containo.us 3 . 1
3 . 2
The Premise Of Microservices… 3 . 3
… And What Happens 3 . 4
Where’s My Service? 3 . 5
Tools Of The Trade 3 . 6
Source: Twitter[] 3 . 7
What If I Told You? That You Don’t Have to
Write This Con guration File… ? 3 . 8
Here Comes Traefik! 4 . 1
Traefik Project 4 . 2
Traefik 2.0 Quick Overview Revamped Documentation Clari ed Concepts Expressive
Routing Rule Syntax Middlewares TCP Support Canary / Mirroring And so Much More… Learn more on the blog post 4 . 3
Traefik (V2.0) Core Concepts 5 . 1
Traefik Is An Edge Router 5 . 2
Dynamically Discovers Services 5 . 3
Architecture (V2.0) At A Glance 5 . 4
Entrypoints 5 . 5
Routers 5 . 6
Middlewares 5 . 7
Services 5 . 8
Architecture (Again) At A Glance 5 . 9
Static & Dynamic Configuration 5 . 10
Traefik And Let’s Encrypt 6 . 1
HTTPS & Let’s Encrypt 6 . 2
Traefik With ⎈ ⎈ Diagram from https://medium.com/@geraldcroes 7 . 1
Ingress Example With ⎈ ⎈ apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata:
name: corporate-webapp annotations: kubernetes.io/ingress.class: 'traefik' spec: rules: - host: localhost http: paths: - backend: serviceName: corporate-webapp servicePort: 80 7 . 2
⎈ ⎈ CRD - Custom Resources Definition # File "webapp.yaml"
apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: simpleingressroute spec: entryPoints: - web routes: - match: Host(`localhost`) && PathPrefix(`/whoami`) kind: Rule services: - name: webapp port: 80 $ kubectl apply -f webapp.yaml $ kubectl get ingressroute 7 . 3
⎈ ⎈ & TCP (With CRD) apiVersion: traefik.containo.us/v1alpha1 kind: IngressRouteTCP
metadata: name: ingressroutetcpmongo.crd spec: entryPoints: - mongotcp routes: - match: HostSNI(`mongo-prod`) services: - name: mongo-prod port: 27017 7 . 4
East / West Traefik 8 . 1
Say Hello To Maesh 8 . 2
What Is Maesh? Maesh is a lightweight, easy to con
gure, and non-invasive service mesh that allows visibility and management of the traf c ows inside any Kubernetes cluster. 8 . 3
Maesh Architecture 8 . 4
More On Maesh Built on top of Trae k, SMI
(Service Mesh Interface speci cation) compliant, Opt-in by default. Maesh Website 8 . 5
Show Me The Code! Install Maesh (Helm Chart): Deploy Applications:
Deploy SMI Objects to allow traf c in the mesh: helm repo add maesh https://containous.github.io/maesh/charts helm repo update helm install --name=maesh --namespace=maesh maesh/maesh --values=./maesh/values.yaml kubectl apply -f apps/0-namespace.yaml kubectl apply -f apps/1-svc-accounts.yaml kubectl apply -f apps/2-apps-client.yaml kubectl apply -f apps/3-apps-servers.yaml kubectl apply -f apps/4-ingressroutes.yaml kubectl apply -f apps/5-smi-http-route-groups.yaml kubectl apply -f apps/6-smi-traffic-targets.yaml 8 . 6
A Closer Look To SMI Objects apiVersion: specs.smi-spec.io/v1alpha1 kind: HTTPRouteGroup
metadata: name: app-routes namespace: apps matches: - name: all pathRegex: "/" methods: ["*"] --- apiVersion: access.smi-spec.io/v1alpha1 kind: TrafficTarget metadata: name: client-apps namespace: apps destination: kind: ServiceAccount name: apps-server namespace: apps specs: - kind: HTTPRouteGroup name: app-routes matches: - all sources: - kind: ServiceAccount name: apps-client namespace: apps 8 . 7
That’s All Folks! 9 . 1
We Have Stickers! 9 . 2
We Are Hiring! docker run -it containous/jobs 9 . 3
Thank You! @mZapfDE SantoDE Slides (HTML): https://containous.github.io/slides/devops-gathering-2020 Slides
(PDF): https://containous.github.io/slides/devops-gathering-2020/slides.pdf Source on : https://github.com/containous/slides/tree/devops-gathering-2020 10