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
foostan
March 25, 2015
Technology
4
1.3k
Consulにコントリビュートした話
Tech-Circle #4: Consulハンズオン勉強会
foostan
March 25, 2015
Tweet
Share
More Decks by foostan
See All by foostan
Crafting the Endgame Keyboard
foostan
1
700
Merpay SRE Teamが目指すもの
foostan
0
78
キーボードは好きですか? / Do you like keyboards?
foostan
21
19k
AWSのマネージドサービスを活かした Kubernetes 運用とAmazon EKS によるクラスタのシングルテナント戦略について
foostan
3
2.1k
kube-aws から EKS に移行した話
foostan
5
1.6k
freeeのクラウドサービス活用術とパフォーマンス改善活動のご紹介
foostan
0
11k
Digdag で CI ジョブを定義する
foostan
1
1.5k
グリーで行われている勉強会とその特徴 ✕ 勉強会を主催してみた話
foostan
0
230
Other Decks in Technology
See All in Technology
Cloud WANの基礎から応用~少しだけDeep Dive~
masakiokuda
4
130
ABEMAにおける 生成AI活用の現在地 / The Current Status of Generative AI at ABEMA
dekatotoro
0
440
Amazon S3 Vectorsは大規模ベクトル検索を低コスト化するサーバーレスなベクトルデータベースだ #jawsugsaga / S3 Vectors As A Serverless Vector Database
quiver
2
1k
AIドリブンのソフトウェア開発 - うまいやり方とまずいやり方
okdt
PRO
8
260
工業高校で学習したとあるエンジニアのキャリアの話
shirayanagiryuji
0
120
メルカリIBIS:AIが拓く次世代インシデント対応
0gm
2
470
プロジェクトマネジメントは不確実性との対話だ
hisashiwatanabe
0
170
Intro to Software Startups: Spring 2025
arnabdotorg
0
290
生成AI活用のROI、どう測る? DMM.com 開発責任者から学ぶ「AI効果検証のノウハウ」 / ROI of AI
i35_267
4
130
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
6.4k
20250818_KGX・One Hokkaidoコラボイベント
tohgeyukihiro
0
120
Jamf Connect ZTNAとMDMで実現! 金融ベンチャーにおける「デバイストラスト」実例と軌跡 / Kyash Device Trust
rela1470
1
210
Featured
See All Featured
Writing Fast Ruby
sferik
628
62k
Facilitating Awesome Meetings
lara
55
6.5k
Mobile First: as difficult as doing things right
swwweet
223
9.9k
Statistics for Hackers
jakevdp
799
220k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Balancing Empowerment & Direction
lara
2
570
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
KATA
mclloyd
32
14k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
Music & Morning Musume
bryan
46
6.7k
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ΛΑΓྑ͍ͷʹʂ