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
Consulにコントリビュートした話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
foostan
March 25, 2015
Technology
4
1.4k
Consulにコントリビュートした話
Tech-Circle #4: Consulハンズオン勉強会
foostan
March 25, 2015
Tweet
Share
More Decks by foostan
See All by foostan
SRE視点で振り返るメルカリのアーキテクチャ変遷と普遍的な考え
foostan
2
8.6k
Crafting the Endgame Keyboard
foostan
1
770
Merpay SRE Teamが目指すもの
foostan
0
120
キーボードは好きですか? / Do you like keyboards?
foostan
21
20k
AWSのマネージドサービスを活かした Kubernetes 運用とAmazon EKS によるクラスタのシングルテナント戦略について
foostan
3
2.2k
kube-aws から EKS に移行した話
foostan
5
1.6k
freeeのクラウドサービス活用術とパフォーマンス改善活動のご紹介
foostan
0
13k
Digdag で CI ジョブを定義する
foostan
1
1.5k
グリーで行われている勉強会とその特徴 ✕ 勉強会を主催してみた話
foostan
0
260
Other Decks in Technology
See All in Technology
_Architecture_Modernization_から学ぶ現状理解から設計への道のり.pdf
satohjohn
2
700
Phase02_AI座学_応用
overflowinc
0
2.4k
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
110
Escape from Excel方眼紙 ~マークダウンで繋ぐ、人とAIの架け橋~ /nikkei-tech-talk44
nikkei_engineer_recruiting
0
170
形式手法特論:SMT ソルバで解く認可ポリシの静的解析 #kernelvm / Kernel VM Study Tsukuba No3
ytaka23
1
750
2026年もソフトウェアサプライチェーンのリスクに立ち向かうために / Product Security Square #3
flatt_security
1
750
品質を経営にどう語るか #jassttokyo / Communicating the Strategic Value of Quality to Executive Leadership
kyonmm
PRO
2
1.2k
テストプロセスにおけるAI活用 :人間とAIの共存
hacomono
PRO
0
140
建設DXを支えるANDPAD: 2025年のセキュリティの取り組みと卒業したいセキュリティ
andpad
0
160
Goのerror型がシンプルであることの恩恵について理解する
yamatai1212
1
290
Phase04_ターミナル基礎
overflowinc
0
1.9k
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
340
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Between Models and Reality
mayunak
2
240
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
480
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Mind Mapping
helmedeiros
PRO
1
130
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Deep Space Network (abreviated)
tonyrice
0
94
Discover your Explorer Soul
emna__ayadi
2
1.1k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Become a Pro
speakerdeck
PRO
31
5.9k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
990
Transcript
Consulʹ ίϯτϦϏϡʔτͨ͠ @foostan Tech-Circle #4: ConsulϋϯζΦϯษڧձ
whoami @foostan https://twitter.com/foostan https://github.com/foostan WebܥاۀͷΠϯϑϥΤϯδχΞ (৽ଔ2)
blog http://fstn.hateblo.jp/
blog http://labs.gree.jp/blog/2014/12/11959/
Qiita http://qiita.com/foostan/items/a679ffcf3e20ff2f6032
ॕ Consul 0.5 ϦϦʔε https://hashicorp.com/blog/consul-0-5.html
• Automated Clustering via Atlas • Atlas Integration • Enhanced
ACLs • Distributed Locking and N+1 Deploys by lock • Maintenance Modes • HTTP Health Checks • Ephemeral Keys • Session TTLs • Key Rotation • Support for multiple DNS recursors What’s new?
• Automated Clustering via Atlas • Atlas Integration • Enhanced
ACLs • Distributed Locking and N+1 Deploys by lock • Maintenance Modes • HTTP Health Checks • Ephemeral Keys • Session TTLs • Key Rotation • Support for multiple DNS recursors What’s new?
Multiple DNS recursors { "recursor": "8.8.8.8" } { "recursors": ["8.8.8.8",
"8.8.4.4"] }
None
https://github.com/hashicorp/consul/pull/448
ίϯτϦϏϡʔτͨ͠
Pull RequestΛग़͢
ฦ৴͕དྷΔ
خ͍͠‷( ŋŷŋ)و ̑̑ ŞƄŕ !
• ϨϏϡʔͯ͠Β͑ͨتͼ • ߩݙͰ͖ͨتͼ • ͦͷաఔͰಘΒΕֶͨͼ • Ϟνϕʔγϣϯͷ্ • OSSʹର͢ΔҙࣝͷมԽ
PRΛग़ͯ͠ಘΒΕͨ͜ͱ
• ϨϏϡʔͯ͠Β͑ͨتͼ • ߩݙͰ͖ͨتͼ • ͦͷաఔͰಘΒΕֶͨͼ • Ϟνϕʔγϣϯͷ্ • OSSʹର͢ΔҙࣝͷมԽ
PRΛग़ͯ͠ಘΒΕͨ͜ͱ
APIͯ͢GETͰड͚Δ -> όά͔͋ͬͨΒ҆શ ͷͨΊʹߋ৽ܥGETͰड͚ͳ͍मਖ਼PRΛૹͬͨ https://github.com/hashicorp/consul/pull/640
ޙํޓͳ͘ͳΔ͔ΒϚʔδͰ͖ͳ͍ɺͩ ͚ͱ /v2 ࡞Γ࢝Ί͔ͨΒͦͬͪͰऔΓࠐΉΑ https://github.com/hashicorp/consul/pull/640
V2!
• ϨϏϡʔͯ͠Β͑ͨتͼ • ߩݙͰ͖ͨتͼ • ͦͷաఔͰಘΒΕֶͨͼ • Ϟνϕʔγϣϯͷ্ • OSSʹର͢ΔҙࣝͷมԽ
PRΛग़ͯ͠ಘΒΕͨ͜ͱ
OSSʹର͢ΔҙࣝͷมԽ
ͨͩ͏͚ͩ
͔Β
ߩݙ͠Α͏ͱ͍͏ҙࣝ • ίϛϡχςΟͰൃݴ͢Δ • PRΛ͛Δ • ΑΓྑ͍͍ํΛߟ͑Δ • ར༻ํ๏Λ·ͱΊΔ/ڞ༗͢Δ •
ײँ͢Δ
ߩݙ͠Α͏ͱ͍͏ҙࣝ • ίϛϡχςΟͰൃݴ͢Δ • PRΛ͛Δ • ΑΓྑ͍͍ํΛߟ͑Δ • ར༻ํ๏Λ·ͱΊΔ/ڞ༗͢Δ •
ײँ͢Δ
ؾʹͳͬͨ͜ͱΛίϛϡχςΟ Ͱฉ͍ͯΈΔ
ؾʹͳͬͨ͜ͱΛίϛϡχςΟ Ͱฉ͍ͯΈΔ தͷਓ͕ஸೡʹڭ͑ͯ͘ΕΔ
Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ
Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ தͷਓ͔Βҙݟ͕Β͑Δ
Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ
Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ தͷਓ͔Β˒͕Β͑Δ
ྭΈʹͳΔ(ᐛ)
ίϛϡχςΟʹੵۃతʹࢀՃ͠ ͯConsulΛΑΓྑ͍ͷʹʂ