Consulにコントリビュートした話

D84f970274539b7370446857459bdd8c?s=47 foostan
March 25, 2015

 Consulにコントリビュートした話

Tech-Circle #4: Consulハンズオン勉強会

D84f970274539b7370446857459bdd8c?s=128

foostan

March 25, 2015
Tweet

Transcript

  1. Consulʹ ίϯτϦϏϡʔτͨ͠࿩ @foostan Tech-Circle #4: ConsulϋϯζΦϯษڧձ

  2. whoami @foostan https://twitter.com/foostan https://github.com/foostan WebܥاۀͷΠϯϑϥΤϯδχΞ (৽ଔ2೥໨)

  3. blog http://fstn.hateblo.jp/

  4. blog http://labs.gree.jp/blog/2014/12/11959/

  5. Qiita http://qiita.com/foostan/items/a679ffcf3e20ff2f6032

  6. ॕ Consul 0.5 ϦϦʔε https://hashicorp.com/blog/consul-0-5.html

  7. • 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?
  8. • 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?
  9. Multiple DNS recursors { "recursor": "8.8.8.8" } { "recursors": ["8.8.8.8",

    "8.8.4.4"] }
  10. None
  11. https://github.com/hashicorp/consul/pull/448

  12. ίϯτϦϏϡʔτͨ͠࿩

  13. Pull RequestΛग़͢

  14. ฦ৴͕དྷΔ

  15. خ͍͠‷( ŋŷŋ)و ̑̑ ŞƄŕ !

  16. • ϨϏϡʔͯ͠΋Β͑ͨتͼ • ߩݙͰ͖ͨتͼ • ͦͷաఔͰಘΒΕֶͨͼ • Ϟνϕʔγϣϯͷ޲্ • OSSʹର͢ΔҙࣝͷมԽ

    PRΛग़ͯ͠ಘΒΕͨ͜ͱ
  17. • ϨϏϡʔͯ͠΋Β͑ͨتͼ • ߩݙͰ͖ͨتͼ • ͦͷաఔͰಘΒΕֶͨͼ • Ϟνϕʔγϣϯͷ޲্ • OSSʹର͢ΔҙࣝͷมԽ

    PRΛग़ͯ͠ಘΒΕͨ͜ͱ
  18. API͸͢΂ͯGETͰड͚Δ -> όά͔͋ͬͨΒ҆શ ͷͨΊʹߋ৽ܥ͸GETͰड͚ͳ͍मਖ਼PRΛૹͬͨ https://github.com/hashicorp/consul/pull/640

  19. ޙํޓ׵ͳ͘ͳΔ͔ΒϚʔδ͸Ͱ͖ͳ͍ɺͩ ͚ͱ /v2 ࡞Γ࢝Ί͔ͨΒͦͬͪͰऔΓࠐΉΑ https://github.com/hashicorp/consul/pull/640

  20. V2!

  21. • ϨϏϡʔͯ͠΋Β͑ͨتͼ • ߩݙͰ͖ͨتͼ • ͦͷաఔͰಘΒΕֶͨͼ • Ϟνϕʔγϣϯͷ޲্ • OSSʹର͢ΔҙࣝͷมԽ

    PRΛग़ͯ͠ಘΒΕͨ͜ͱ
  22. OSSʹର͢ΔҙࣝͷมԽ

  23. ͨͩ࢖͏͚ͩ

  24. ͔Β

  25. ߩݙ͠Α͏ͱ͍͏ҙࣝ • ίϛϡχςΟͰൃݴ͢Δ • PRΛ౤͛Δ • ΑΓྑ͍࢖͍ํΛߟ͑Δ • ར༻ํ๏Λ·ͱΊΔ/ڞ༗͢Δ •

    ײँ͢Δ
  26. ߩݙ͠Α͏ͱ͍͏ҙࣝ • ίϛϡχςΟͰൃݴ͢Δ • PRΛ౤͛Δ • ΑΓྑ͍࢖͍ํΛߟ͑Δ • ར༻ํ๏Λ·ͱΊΔ/ڞ༗͢Δ •

    ײँ͢Δ
  27. ؾʹͳͬͨ͜ͱΛίϛϡχςΟ Ͱฉ͍ͯΈΔ

  28. ؾʹͳͬͨ͜ͱΛίϛϡχςΟ Ͱฉ͍ͯΈΔ தͷਓ͕ஸೡʹڭ͑ͯ͘ΕΔ

  29. Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ

  30. Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ தͷਓ͔Βҙݟ͕΋Β͑Δ

  31. Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ

  32. Consulʹؔ࿈͢ΔπʔϧΛ ࡞ͬͨ͜ͱΛΞϐʔϧͯ͠ΈΔ தͷਓ͔Β˒͕΋Β͑Δ

  33. ྭΈʹͳΔ(ᐛ)

  34. ίϛϡχςΟʹੵۃతʹࢀՃ͠ ͯConsulΛΑΓྑ͍΋ͷʹʂ