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
660
Merpay SRE Teamが目指すもの
foostan
0
56
キーボードは好きですか? / Do you like keyboards?
foostan
21
19k
AWSのマネージドサービスを活かした Kubernetes 運用とAmazon EKS によるクラスタのシングルテナント戦略について
foostan
3
2.1k
kube-aws から EKS に移行した話
foostan
5
1.5k
freeeのクラウドサービス活用術とパフォーマンス改善活動のご紹介
foostan
0
11k
Digdag で CI ジョブを定義する
foostan
1
1.4k
グリーで行われている勉強会とその特徴 ✕ 勉強会を主催してみた話
foostan
0
210
Other Decks in Technology
See All in Technology
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
470
JEDAI Meetup! Databricks AI/BI概要
databricksjapan
0
300
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
520
Raycast AI APIを使ってちょっと便利な拡張機能を作ってみた / created-a-handy-extension-using-the-raycast-ai-api
kawamataryo
0
200
生成AI×財務経理:PoCで挑むSlack AI Bot開発と現場巻き込みのリアル
pohdccoe
1
500
スキルだけでは満たせない、 “組織全体に”なじむオンボーディング/Onboarding that fits “throughout the organization” and cannot be satisfied by skills alone
bitkey
0
150
JavaにおけるNull非許容性
skrb
2
2.4k
「正しく」失敗できる チームの作り方 〜リアルな事例から紐解く失敗を恐れない組織とは〜 / A team that can fail correctly
i35_267
2
720
OpenID Connect for Identity Assurance の概要と翻訳版のご紹介 / 20250219-BizDay17-OIDC4IDA-Intro
oidfj
0
470
サイト信頼性エンジニアリングとAmazon Web Services / SRE and AWS
ymotongpoo
2
680
ウォンテッドリーのデータパイプラインを支える ETL のための analytics, rds-exporter / analytics, rds-exporter for ETL to support Wantedly's data pipeline
unblee
0
110
あなたが人生で成功するための5つの普遍的法則 #jawsug #jawsdays2025 / 20250301 HEROZ
yoshidashingo
1
130
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Side Projects
sachag
452
42k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Pragmatic Product Professional
lauravandoore
32
6.4k
GitHub's CSS Performance
jonrohan
1030
460k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
A designer walks into a library…
pauljervisheath
205
24k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
250
The Cult of Friendly URLs
andyhume
78
6.2k
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ΛΑΓྑ͍ͷʹʂ