Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
SRE視点で振り返るメルカリのアーキテクチャ変遷と普遍的な考え
foostan
2
4.1k
Crafting the Endgame Keyboard
foostan
1
720
Merpay SRE Teamが目指すもの
foostan
0
89
キーボードは好きですか? / Do you like keyboards?
foostan
21
20k
AWSのマネージドサービスを活かした Kubernetes 運用とAmazon EKS によるクラスタのシングルテナント戦略について
foostan
3
2.1k
kube-aws から EKS に移行した話
foostan
5
1.6k
freeeのクラウドサービス活用術とパフォーマンス改善活動のご紹介
foostan
0
12k
Digdag で CI ジョブを定義する
foostan
1
1.5k
グリーで行われている勉強会とその特徴 ✕ 勉強会を主催してみた話
foostan
0
240
Other Decks in Technology
See All in Technology
Digital omtanke på Internetdagarna 2025
axbom
PRO
0
160
How native lazy objects will change Doctrine and Symfony forever
beberlei
1
350
Bakuraku Engineering Team Deck
layerx
PRO
10
3k
Symfony AI in Action
el_stoffel
2
340
Docker, Infraestructuras seguras y Hardening
josejuansanchez
0
140
私のRails開発環境
yahonda
0
170
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
37k
GitHub を組織的に使いこなすために ソニーが実践した全社展開のプラクティス
sony
21
11k
Excelデータ分析で学ぶディメンショナルモデリング ~アジャイルデータモデリングへ向けて~ by @Kazaneya_PR / 20251126
kazaneya
PRO
3
810
AI 時代のデータ戦略
na0
8
3.1k
インフラ室事例集
mixi_engineers
PRO
2
190
セキュリティAIエージェントの現在と未来 / PSS #2 Takumi Session
flatt_security
3
1.2k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
Fireside Chat
paigeccino
41
3.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
How GitHub (no longer) Works
holman
316
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
119
20k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
GitHub's CSS Performance
jonrohan
1032
470k
Faster Mobile Websites
deanohume
310
31k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
A Tale of Four Properties
chriscoyier
162
23k
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ΛΑΓྑ͍ͷʹʂ