Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kubernetesの ダークカナリアリリースツールを作った話
Search
t10471
May 18, 2018
Technology
0
1k
Kubernetesの ダークカナリアリリースツールを作った話
t10471
May 18, 2018
Tweet
Share
More Decks by t10471
See All by t10471
hashicorp_raftからraftを学ぶ
t10471
0
980
EOSにPull Requestを出してマージされた話
t10471
1
710
分散台帳・暗号通貨とRust ブロックチェーンをRustで作ってる話
t10471
2
1.5k
Kubernetes・GCPを使った チャットボットサービスの 機械学習部分の話
t10471
0
180
型についてちょっと考える
t10471
1
320
Other Decks in Technology
See All in Technology
DDD x Microservice Architecture : Findy Architecture Conf 2025
syobochim
13
5.6k
『星の世界の地図の話: Google Sky MapをAI Agentでよみがえらせる』 - Google Developers DevFest Tokyo 2025
taniiicom
0
400
小規模チームによる衛星管制システムの開発とスケーラビリティの実現
sankichi92
0
150
Greenは本当にGreenか? - B/GデプロイとAPI自動テストで安心デプロイ
kaz29
1
130
ローカルVLM OCRモデル + Gemini 3.0 Proで日本語性能を試す
gotalab555
1
190
AWS re:Invent 2025 で頻出の 生成 AI サービスをおさらい
komakichi
3
240
単一Kubernetesクラスタで実現する AI/ML 向けクラウドサービス
pfn
PRO
1
380
Introduction to Bill One Development Engineer
sansan33
PRO
0
320
グローバルなコンパウンド戦略を支えるモジュラーモノリスとドメイン駆動設計
kawauso
3
9.7k
レガシーシステム刷新における TypeSpec スキーマ駆動開発のすゝめ
tsukuha
4
770
"なるべくスケジューリングしない" を実現する "PreferNoSchedule" taint
superbrothers
0
110
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
960
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
940
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Bash Introduction
62gerente
615
210k
Building Applications with DynamoDB
mza
96
6.8k
Context Engineering - Making Every Token Count
addyosmani
9
420
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
The Art of Programming - Codeland 2020
erikaheidi
56
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ͷଘࡏΛΓɺ͋ʔͱࢥͬ ͨ…
͋Γ͕ͱ͏͍͟͝·ͨ͠