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
Kubernetesの ダークカナリアリリースツールを作った話
Search
t10471
May 18, 2018
Technology
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetesの ダークカナリアリリースツールを作った話
t10471
May 18, 2018
More Decks by t10471
See All by t10471
hashicorp_raftからraftを学ぶ
t10471
0
1.1k
EOSにPull Requestを出してマージされた話
t10471
1
740
分散台帳・暗号通貨とRust ブロックチェーンをRustで作ってる話
t10471
2
1.5k
Kubernetes・GCPを使った チャットボットサービスの 機械学習部分の話
t10471
0
190
型についてちょっと考える
t10471
1
360
Other Decks in Technology
See All in Technology
dbt Semantic Layerで進めるenechainのデータ民主化
akizhou
1
190
How to Design Configuration for Rails Applications
willnet
1
1.1k
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
200
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
660
20年間 SNS サービス「GREE」 を支えた技術の刷新と、長期運用サービスの Kubernetes へのリアーキテクト
gree_tech
PRO
0
110
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
320
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
PRO
0
450
DevelopersIO2026 -バックアップは“消されないこと”が9割-
yoshida0129
0
240
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
220
AI駆動開発におけるハーネスエンジニアリングの勘所
tsukuboshi
1
360
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
370
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
360
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
WCS-LA-2024
lcolladotor
0
900
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Making the Leap to Tech Lead
cromwellryan
135
10k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
280
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Transcript
Kubernetesͷ μʔΫΧφϦΞϦϦʔεπʔϧ Λ࡞ͬͨ Kubernetesษڧձ @t10471
μʔΫΧφϦΞϦϦʔεͱʁ • Ұ෦ͷϢʔβʹ͚ͩߜͬͯϦϦʔε͢Δͷ͕ɺ ΧφϦΞϦϦʔε • ͞Βʹ։ൃऀʹ͚ͩߜͬͯϦϦʔε͢Δͷ͕ɺ μʔΫΧφϦΞϦϦʔε • ग़య https://clonos.jp/knowledge/detail14/
࡞ͬͨཧ༝ • εςʔδϯάڥ͕͋ͬͨຊ൪ڥͱઃఆ ͕ҧ͏ͨΊɺϦϦʔεͯ͠Γ͢ͱ͍͏ͷ ͕Կճ͔͋ͬͨͨΊ…
طଘͷͰμϝͩͬͨͷ͔ʁ • SpinnakerͳͲݕ౼͕ͨ͠ɺΓ͍ͨ͜ͱʹ ରͯ͠େ͛ͩͬͨͨ͞ΊಠࣗͰ࡞ͬͨ • ͦͷࠒIstio1.0Ͱͳ͔ͬͨͷͰ…
༷ɾલఏ • طଘͷσϓϩΠπʔϧ(shell)͕طʹଘࡏͨ͠ͷ ͰɺͦΕΛૢ࡞͢Δϥούʔ • serviceɺpodɺhpaΛΓସ͑Δ • DNSLBͰղܾ͍ͯ͠Δ • ServiceNodePortΛࢦఆ͍ͯ͠Δ
ϦϦʔεલ blue ϦϦʔε service label: blue μʔΫΧφϦΞϦϦʔε service label: blue
blue deployment Λࢹ
μʔΫΧφϦΞϦϦʔε blue ϦϦʔε service label: blue μʔΫΧφϦΞϦϦʔε service label: green
blue deployment Λࢹ green greenͷpodΛ1্ཱ͚ͭͩͪ͛Δ
ϦϦʔε blue ϦϦʔε service label: green μʔΫΧφϦΞϦϦʔε service label: green
green deployment Λࢹ green greenͷpodΛঃʑʹ૿͠ blue ͷpodΛঃʑʹݮΒ͢ نఆʹୡͨ͠Βgreen deployment Λࢹ͢Δ
ίϚϯυ • info • ݱࡏͷঢ়ଶΛݟΔ • show • σϓϩΠ͍ͨ͠deployment.yamlΛݟΔ •
deployment.yamlςϯϓϨʔτʹͳ͍ͬͯΔͷͰɺͦ͜Λࢦఆͨ͠ڥͷม ͰຒΊͯ͘ΕΔ • diff • ݱࡏͷঢ়ଶͱϦϦʔε͍ͨ͠ͷͷࠩΛݟΔ • deploydc • μʔΫΧφϦΞϦϦʔεΛߦ͏ • diffbg • blueλάͱgreenλάͷࠩΛݟΔ • deploy • μʔΫΧφϦΞϦϦʔεΛߦͬͨํʹserviceͱhpaΛ͚ΔpodͷΛௐ ͢Δ
࡞ͬͨײ • Kubernetesͬͯศརͩͳʔ • ͜ͷޙʹclient-goͷଘࡏΛΓɺ͋ʔͱࢥͬ ͨ…
͋Γ͕ͱ͏͍͟͝·ͨ͠