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
350
Other Decks in Technology
See All in Technology
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
120
Argo CDとAtlantisで実現するインフラ管理のセルフサービス化──小規模SREチームで支えるプラットフォーム
cassius7
0
250
認知負荷を吸収し、プロダクトをまたぐPR Preview基盤の設計事例
taiki45
2
550
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
0
160
人にやさしく、AIにやさしく、書き手を選ばないIaCのガードレール再考 / Rethinking IaC Guardrails for Humans and AI Alike
kohbis
5
1.8k
AIエージェントを安全で速い現場監督にする:Jev・Obsidian・メタハーネス
x5gtrn
PRO
0
140
高負荷プロダクション環境におけるAWS Lambdaのリアル 〜スケールとコストを左右する実行ライフサイクルの技術仕様〜
maimyyym
2
830
React Nativeでの OTA Updateって、 どう説明する?
ichiki1023
0
120
猫でもわかるKiro Web
kentapapa
1
160
The kernel report
ennael
PRO
1
150
Mastering Agentic Development: Harness Engineering for Effective Coding Agents
konippi
3
660
IR Today: Theory, Practice, and Agents
dtunkelang
0
270
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
New Earth Scene 8
popppiees
4
2.6k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
Faster Mobile Websites
deanohume
310
32k
Rails Girls Zürich Keynote
gr2m
96
14k
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ͷଘࡏΛΓɺ͋ʔͱࢥͬ ͨ…
͋Γ͕ͱ͏͍͟͝·ͨ͠