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.2k
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
570
Merpay SRE Teamが目指すもの
foostan
0
36
キーボードは好きですか? / Do you like keyboards?
foostan
21
18k
AWSのマネージドサービスを活かした Kubernetes 運用とAmazon EKS によるクラスタのシングルテナント戦略について
foostan
3
1.9k
kube-aws から EKS に移行した話
foostan
5
1.4k
freeeのクラウドサービス活用術とパフォーマンス改善活動のご紹介
foostan
0
11k
Digdag で CI ジョブを定義する
foostan
1
1.2k
グリーで行われている勉強会とその特徴 ✕ 勉強会を主催してみた話
foostan
0
140
Other Decks in Technology
See All in Technology
入社後初めてのタスクでk8sアップグレードした話.pdf
kkato1
1
380
[PlatformCon 24] Platform Orchestrators: The Missing Middle of Internal Developer Platforms?
danielbryantuk
1
180
Tableau事例紹介 / Tableau Case Study of Eureka
kazuya_araki_tokyo
1
170
"好き"との生活/Regularly update profile with GitHub Actions
judeeeee
0
150
Postman v10リリース後を振り返る
nagix
0
140
The CloudCompare project by Dr. Daniel Girardeau-Montaut
kentaitakura
0
510
Oracle Cloud Infrastructure:2024年4月度サービス・アップデート
oracle4engineer
PRO
1
110
AIQ株式会社 エンジニア向け会社紹介資料
aiqlab
0
380
マルチアカウント環境への発見的統制の導入
ch1aki
1
1.3k
TransitGatewayの基礎
toru_kubota
0
230
20240416_devopsdaystokyo
kzkmaeda
1
190
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
243
20k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
658
120k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2.1k
Documentation Writing (for coders)
carmenintech
59
3.9k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
StorybookのUI Testing Handbookを読んだ
zakiyama
11
4.6k
Scaling GitHub
holman
457
140k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
The MySQL Ecosystem @ GitHub 2015
samlambert
242
12k
YesSQL, Process and Tooling at Scale
rocio
163
13k
Gamification - CAS2011
davidbonilla
76
4.6k
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ΛΑΓྑ͍ͷʹʂ