Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CircleCIオンプレ版 Builderインスタンスの安全なスケールイン方法 / How to scale in CircleCI

7f21b2439500162f0929857eaa29168f?s=47 karakaram
December 04, 2018

CircleCIオンプレ版 Builderインスタンスの安全なスケールイン方法 / How to scale in CircleCI

7f21b2439500162f0929857eaa29168f?s=128

karakaram

December 04, 2018
Tweet

Transcript

  1. $JSDMF$*ΦϯϓϨ൛ #VJMEFSΠϯελϯεͷ ҆શͳεέʔϧΠϯ $JSDMF$*+BQBOϢʔβίϛϡχςΟΩοΫΦϑ
 !LBSBLBSBN

  2. ࠓ೔࿩͢͜ͱ w $JSDMF$*ͷΦϯϓϨ൛ͷ#VJMEFSΠϯελϯεͷεέʔϧΠϯͷ࿩ w ؅ཧऀ޲͚ͷ͓࿩Ͱ͢

  3. $JSDMF$*ΦϯϓϨ൛ͷαʔόʔߏ੒ (JU)VC $JSDMF$* #VJMEFS ΠϯελϯεͰ࣮ߦͰ͖Δ Ϗϧυ਺ʹ͸੍ݶ͕͋Δ

  4. Ϗϧυཁٻ͕૿͖͑ͯͨΒ#VJMEFSΛ૿΍͢ (JU)VC $JSDMF$* #VJMEFS #VJMEFS #VJMEFS

  5. Ϗϧυཁٻ͕ݮ͖ͬͯͨΒ#VJMEFSΛݮΒ͢ (JU)VC $JSDMF$* #VJMEFS #VJMEFS #VJMEFS

  6. εέʔϧΠϯ͸೉͍͠ w εέʔϧΞ΢τ͸αʔόʔΛ૿΍͚ͩ͢Ͱ؆୯͕ͩɺεέʔϧΠϯ͸͍Ζ ͍Ζߟ͑ͳ͍ͱ͍͚ͳ͍ɻ w Կ΋ߟ͑ͣʹεέʔϧΠϯ͢Δͱɺ࣮ߦதͷϏϧυΛΤϥʔऴྃͤͯ͞͠ ·͏͜ͱ͕͋Δɻ w Ͳ͏΍ͬͯ҆શʹεέʔϧΠϯͤ͞Δ͔ɻ

  7. εέʔϧΠϯͷϙΠϯτ఺  ݮΒ͍ͨ͠ΠϯελϯεͰ৽نͷϏϧυ͕࣮ߦ͞Εͳ͍Α͏ʹ͢Δ  ݮΒ͍ͨ͠ΠϯελϯεͰϏϧυ͕࣮ߦ͞Ε͍ͯΔ৔߹͸ɺϏϧυऴྃ ͢Δ·Ͱ଴ͭ

  8. ৽نͷϏϧυ͕࣮ߦ͞Εͳ͍Α͏ʹ͢Δʹ͸ (JU)VC $JSDMF$* #VJMEFS #VJMEFS #VJMEFS /PNBEΛ
 ૢ࡞ͯ͠
 ৽نϏϧυ͕
 ೖͬͯ͘ΔͷΛ


    ࢭΊΔ /PNBE4FSWFS /PNBE$MJFOU /PNBE$MJFOU /PNBE$MJFOU $JSDMF$*ͷϏϧυ੍ޚ͸
 )BTIJ$PSQͷ/PNBEͰߦ͍ͬͯΔ
  9. /PNBE$MJFOUΛESBJOϞʔυʹ͢Δ (JU)VC $JSDMF$* #VJMEFS #VJMEFS #VJMEFS /PNBE4FSWFS /PNBE$MJFOU /PNBE$MJFOU /PNBE$MJFOU

    ESBJOBQJ IUUQTXXXOPNBEQSPKFDUJPBQJOPEFTIUNMESBJOOPEF /PNBE$MJFOUΛESBJOϞʔυʹ͢Δͱ
 ৽نͷϏϧυ͕࣮ߦ͞Εͳ͘ͳΔ
  10. Ϗϧυ͕ऴྃ͢Δ·Ͱ଴ͭ (JU)VC $JSDMF$* #VJMEFS #VJMEFS #VJMEFS /PNBE4FSWFS /PNBE$MJFOU /PNBE$MJFOU /PNBE$MJFOU

    BMMPDBUJPOTBQJ IUUQTXXXOPNBEQSPKFDUJPBQJBMMPDBUJPOTIUNM BMMPDBUJPOTBQJͰ
 Ϗϧυ͕࣮ߦத͔Ͳ͏͔ௐ΂ΒΕΔ
  11. Ϗϧυ͕ऴྃͨ͠Β#VJMEFSΛऴྃ (JU)VC $JSDMF$* #VJMEFS #VJMEFS #VJMEFS

  12. ख࡞ۀͰ΍Δͱਏ͍ͷͰࣗಈԽ

  13. "84ͰࣗಈԽ "VUP4DBMJOH #VJMEFST "VUP4DBMJOHͷ-JGFDZDMF)PPLͰ
 Πϯελϯεͷ5FSNJOBUJOHঢ়ଶΛ
 ϑοΫ͠ɺ424ʹϝοηʔδΛૹΔ ᶄ 424͔Β-BNCEBΛىಈ ᶅ 2VFVFͷϝοηʔδʹॻ͔Ε͍ͯΔΠϯ

    ελϯε*%͔Βɺऴྃ͠Α͏ͱ͍ͯ͠ΔΠ ϯελϯε͕෼͔ΔͷͰɺͦͷΠϯελϯ εΛESBJOϞʔυʹ͢Δ ᶆ ର৅ΠϯελϯεͰϏϧυ͕࣮ߦத͔ BMMPDBUJPOTBQJͰௐ΂ɺ࣮ߦதͳΒ-BNCEBΛ ΤϥʔͰऴྃͤ͞Δɻ࣮ߦதͰͳ͚Ε͹ɺ"VUP 4DBMJOHʹ׬ྃΛ௨஌͠ɺ-BNCEBΛਖ਼ৗऴྃɻ ᶇ "VUP4DBMJOHͷ %FTJSFEDBQBDJUZ ΛݮΒ͢ ᶃ
  14. Α͔ͬͨ͜ͱ w #FGPSF w Ұ౓ΠϯελϯεΛ૿΍ͨ͠ΒɺϏϧυ͕མͪண͘໷·ͰΠϯελϯε ΛݮΒͤͳ͔ͬͨ w ே࣌ʹ୆͔Β୆ʹ૿΍͠ɺ໷࣌̕·Ͱ୆ͷ·· w "GUFS

    w धཁʹԠͯ͡ؾܰʹ૿ݮ͕Ͱ͖ΔΑ͏ʹ w ே࣌̕୆ɺனٳΈલ̐୆ɺޕޙ୆ɺ༦ํ̐୆ɺ໷࣌୆