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

エネルギープラットフォーマーを目指す東京ガス内製開発チームが始めたKubernetes

 エネルギープラットフォーマーを目指す東京ガス内製開発チームが始めたKubernetes

CloudNative Days Summer 2024 プレイベント@東京で発表した資料です。

Yusuke Sugiyama

May 22, 2024
Tweet

More Decks by Yusuke Sugiyama

Other Decks in Technology

Transcript

  1. ೥ͷྺ࢙ͱ਺ࣈͰΈΔ౦ژΨεάϧʔϓ ೥ʢ໌࣏೥ ɺ౦ژΨε͸ʮ೔ຊࢿຊओٛͷ෕ʯͰ͋Δ໌࣏࣌୅ͷ࣮ۀՈɾौ୔ ӫҰʹΑͬͯ૑ཱ͞Ε·ͨ͠ɻ ΤωϧΪʔधཁͷ૿େʹ൐͍ɺΫϦʔϯͰߴޮ཰ͳΤωϧΪʔͱͯ͠ɺ೥ɺ೔ຊͰॳ Ίͯ -/( ӷԽఱવΨε Λಋೖɻ ͓٬͞·ΞΧ΢ϯτ਺͸໿

    ສ݅  ౎ࢢΨεࠃ಺ൢചγΣΞ໿ˋ͸ࠃ಺/Pɻ খചిྗൢച݅਺΋ສ݅  ʹ౸ୡɺ৽ిྗ/Pͱͳ͍ͬͯ·͢ɻ ਺ࣈͰݟΔ౦ژΨεάϧʔϓc౦ژΨε UPLZPHBTDPKQ ΨεɾిؾɾαʔϏεԆ΂ܖ໿਺ ೥݄຤࣌఺ ೥݄຤࣌఺
  2. Ոఉ༻ࣄۀ͕ஔ͔Ε͍ͯΔݱঢ় ೥݄ʹిྗɺ೥݄ʹ౎ࢢΨε͕খചશ໘ࣗ༝ԽͱͳΓɺՈఉ༻ͷ෼໺ʹ͓͍ͯ΋ɺΤωϧΪʔձࣾ͸ ͓٬͞·͔Βબ͹ΕΔଘࡏʹͳΓ·ͨ͠ɻͦͷ݁Ռɺσδλϧ઀఺ʹΑΔ͓٬͞·ͷ֫ಘɾ͓٬͞·ମݧͷ޲্͕ٸ ຿ͱͳ͍ͬͯ·͢ɻ ೥݄ ిྗখചࣗ༝Խελʔτ ʲಛผߴѹʳ େن໛޻৔ɾେن໛ΦϑΟεϏϧ ిྗ ౎ࢢ

    Ψε ೥݄ ౎ࢢΨεখചࣗ༝Խελʔτ ʲ೥ؒສNҎ্ʳ ೥݄೥݄ ࣗ༝ԽྖҬ֦େ ʲߴѹʳ தখن໛޻৔ɾதখϏϧ ೥݄d೥݄ ࣗ༝ԽྖҬ֦େ ʲ೥ؒສNҎ্ʳ ೥݄ શ໘ࣗ༝Խ ʲ௿ѹʳ ೥݄ શ໘ࣗ༝Խ ʲ೥ؒສNҎ্ʳ ҰൠՈఉͳͲ
  3. ౦ژΨε಺੡։ൃνʔϜͱ͸ ͓٬͞· ಺੡։ൃνʔϜྖҬ όοΫΤϯυ جװγεςϜ #'' ϑϩϯτΤϯυ Λ୲౰ʂ ౦ژΨε$9ਪਐ෦σδλϧϚʔέςΟϯάάϧʔϓ ೥౰࣌

    ʹൃ଍ͨ͠ ࣗࣾϓϩμΫτΛ։ൃ͢ΔνʔϜͰ͢ɻ ೥݄࣌఺Ͱ͸ϦϏϯάઓུ෦ʹॴଐ ओʹ NZ50,:0("4 ͱݺ͹ΕΔձһαΠτͷ಺੡։ൃΛߦ͍ͬͯ·͢ɻ
  4. NZ50,:0("4ͷ՝୊ ྫɿܖ໿Λ௥Ճ͍ͨ͠έʔε  ݱࡏͷձһ৘ใΛऔಘ "1* "1*Λݺͼग़͢  ܖ໿৘ใΛ௥Ճ "1*Λݺͼग़͢ 

    ձһجຊ৘ใΛมߋ "1*Λݺͼग़͢  ݸਓผܖ໿৘ใΛߋ৽ "1*Λݺͼग़͢ όοΫΤϯυ #'' "1* "1* "1* "1* "1*
  5. NZ50,:0("4ͷ՝୊ ܖ໿ͱ͸ɾɾɾʁ ྫɿܖ໿Λ௥Ճ͍ͨ͠έʔε  ݱࡏͷձһ৘ใΛऔಘ "1* "1*Λݺͼग़͢  ܖ໿৘ใΛ௥Ճ "1*Λݺͼग़͢

     ձһجຊ৘ใΛมߋ "1*Λݺͼग़͢  ݸਓผܖ໿৘ใΛߋ৽ "1*Λݺͼग़͢ όοΫΤϯυ #'' "1* "1* "1* "1* "1*
  6. NZ50,:0("4ͷ՝୊ ྫɿܖ໿Λ௥Ճ͍ͨ͠έʔε  ݱࡏͷձһ৘ใΛऔಘ "1* "1*Λݺͼग़͢  ܖ໿৘ใΛ௥Ճ "1*Λݺͼग़͢ 

    ձһجຊ৘ใΛมߋ "1*Λݺͼग़͢  ݸਓผܖ໿৘ใΛߋ৽ "1*Λݺͼग़͢ υϝΠϯ͕੔ཧ ͞Ε͍ͯͳ͍ όοΫΤϯυ #'' "1* "1* "1* "1* "1*
  7. NZ50,:0("4ͷ՝୊ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF #''Ͱٵऩʜ 'BU#''΁ʜ ιʔείʔυ ಺෦Ͱͷ෼཭ʜ ϦχϡʔΞϧ࣌఺Ͱ͸ ͜Ε͕࠷దղͩͬͨ ೥݄ϦϦʔε͕ඞਢͩͬͨͨΊʜ
  8. NZ50,:0("4ͷ՝୊ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF ൃੜ͢Δ໰୊ ֎෦޲͚ʹ ͜͜௚͍ͨ͠ͳ ͍΍͍΍ ܖ໿ʹӨڹग़ͪΌ͏
  9. NZ50,:0("4ͷ՝୊ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF ൃੜ͢Δ໰୊ ʢ͋ͬ֎෦޲͚ʹ ௚ͨ͠΍ͭ ୭ʂʁ 8&#յͨ͠ͷʂ
  10. NZ50,:0("4ͷ՝୊ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF ൃੜ͢Δ໰୊ Ϗοάόϯ मਖ਼ೖΓ·ͨ͠
  11. ͞Βʹਂ෵΋͋Δ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF ਂ෵ ؔ࿈γεςϜ͸
  12. ͞Βʹਂ෵΋͋Δ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF ਂ෵ ؔ࿈γεςϜ͸ ྺ࢙͋ΔاۀͰ͸ϨΨγʔͳ γεςϜͱͷର࿩͕ඞཁ
  13. ࠓɺޫͷઓ͕࢜ٻΊΒΕ͍ͯΔ 'BU#'' 8&# .PCJMF %PNBJO-BZFS $POUSBDU 1PJOUT .FNCFST ɾ ɾ

    ɾ 'PS8&# YͬͬͬY ܖ໿௥Ճ DSFBUF0OF "EEB$POUSBDU "EEB$POUSBDU $IBSHFT 1SPDFTT-BZFS 6* ɾ ɾ ɾ "EEB$POUSBDU 'PS.PCJMF"QQ ɾ ɾ ɾ ɾ ɾ ɾ 'PS&YUFSOBM47$ ܖ໿௥Ճ DSFBUF0OF ਂ෵ ؔ࿈γεςϜ͸
  14. ড়Խ ϦΞʔΩςΫνϟޙͷΠϝʔδ 8&# .PCJMF "QQT .JDSP 4FSWJDFT ҰྫͰ͢ $POUSBDU 1PJOUT

    .FNCFST ɾ ɾ ɾ #''GPS8&# "EEB$POUSBDU $IBSHFT ɾ ɾ ɾ "EEB$POUSBDU ɾ ɾ ɾ #''GPS&YUFSOBM 4FSWJDFT "EEB$POUSBDU ɾ ɾ ɾ #''GPS.PCJMF "QQT ܖ໿௥Ճ DSFBUF0OF ܖ໿௥Ճ DSFBUF0OF /FX 4FSWJDF ؔ࿈γεςϜ܊ %PNBJO-BZFS υϝΠϯ૚Λ ෼཭ɾ੔ཧ
  15. ϦΞʔΩςΫνϟޙͷΠϝʔδ 8&# .PCJMF "QQT .JDSP 4FSWJDFT ҰྫͰ͢ $POUSBDU 1PJOUT .FNCFST

    ɾ ɾ ɾ #''GPS8&# "EEB$POUSBDU $IBSHFT ɾ ɾ ɾ "EEB$POUSBDU ɾ ɾ ɾ #''GPS&YUFSOBM 4FSWJDFT "EEB$POUSBDU ɾ ɾ ɾ #''GPS.PCJMF "QQT ܖ໿௥Ճ DSFBUF0OF ܖ໿௥Ճ DSFBUF0OF /FX 4FSWJDF ؔ࿈γεςϜ܊ %PNBJO-BZFS ,VCFSOFUFT ͷ࠾༻ʂ
  16. ϦΞʔΩςΫνϟޙͷΠϝʔδ 8&# .PCJMF "QQT .JDSP 4FSWJDFT ҰྫͰ͢ $POUSBDU 1PJOUT .FNCFST

    ɾ ɾ ɾ #''GPS8&# "EEB$POUSBDU $IBSHFT ɾ ɾ ɾ "EEB$POUSBDU ɾ ɾ ɾ #''GPS&YUFSOBM 4FSWJDFT "EEB$POUSBDU ɾ ɾ ɾ #''GPS.PCJMF "QQT ܖ໿௥Ճ DSFBUF0OF ܖ໿௥Ճ DSFBUF0OF /FX 4FSWJDF ؔ࿈γεςϜ܊ %PNBJO-BZFS ৽نαʔϏεʹ΋ ׆༻Ͱ͖ΔΑ͏ʹ💪 ˞#$޲͚ͷίϯςΩετΛҙࣝ
  17. ϦΞʔΩςΫνϟޙͷΠϝʔδ 8&# .PCJMF "QQT .JDSP 4FSWJDFT ҰྫͰ͢ $POUSBDU 1PJOUT .FNCFST

    ɾ ɾ ɾ #''GPS8&# "EEB$POUSBDU $IBSHFT ɾ ɾ ɾ "EEB$POUSBDU ɾ ɾ ɾ #''GPS&YUFSOBM 4FSWJDFT "EEB$POUSBDU ɾ ɾ ɾ #''GPS.PCJMF "QQT ܖ໿௥Ճ DSFBUF0OF ܖ໿௥Ճ DSFBUF0OF /FX 4FSWJDF ؔ࿈γεςϜ܊ %PNBJO-BZFS มԽʹڧ͓͘٬͞·ʹ ૉૣ͘Ձ஋Λಧ͚ΒΕΔ ΞʔΩςΫνϟ΁
  18. Ϋϥ΢υωΠςΟϒ Ϋϥ΢υɾ044࢖ͬͯ·͢ʁ $MPVE/BUJWF$PNQVUJOH'PVOEBUJPO $/$' ओಋͷ 044Λ࢖ͬͯ։ൃͯ͠Δ͜ͱʁ "84 (PPHMF$MPVE "[VSFΛར༻͍ͯ͠Δ͜ͱʁ ͦΕ΋ͦ͏͔΋͠Εͳ͍ɾɾɾ

    ͨͩ͠ʮωΠςΟϒʯͳͷͰʮ౰ͨΓલͷΑ͏ʹ࢖͍ͬͯΔʯঢ়ଶͰ͋Δͱཧղɻ ౰ͨΓલʹ࢖͍͜ͳ͠ɺࣄۀ՝୊ΛΫϦΞ͍ͯ͘͜͠ͱ͕ॏཁͰ͋Δͱߟ͍͑ͯ·͢ɻ
  19. ࣮ࡍ΍ͬͯΈͯͷॴײ ࣮ࡍʹߏஙΛ͍ͯ͘͠தͰ೉͠͞ͱπϥϛ΋ൃੜɻ  Ͳ͜·Ͱ͕ ,VCFSOFUFTͳͷ͔ "84ͳͷ͔ʜ&,4Λ΍͍ͬͯΔͷ͔ "84Λ΍͍ͬͯΔ ͷ͔෼͔Βͳ͘ͳΔ FH*34"*". 4FSWJDF"DDPVOU3#"$͕ʜ

     &,4͸ϓϨʔϯʹ͍ۙͷ͕ചΓ ͩͱࢥ͍ͬͯΔɾݸਓతݟղͰ͢ ͷͨΊɺϝτϦΫεαʔ όʔ΋σϑΥϧτͰ͸ಋೖ͞Ε͍ͯͳ͍ɻ)1"͕ػೳ͠ͳͯ͘ؾ෇͍ͨʜ  ʮ(,&͸ʙʯͱಉ྅͔ΒΤϐιʔυΛฉ͘ͱʮͳΔ΄Ͳʯͱࢥ͏΋ͷ΋ɻ  ࠷ۙΫϥελʔ "1*΁ͷೝূ؅ཧ͕ $POGJH.BQΦϯϦʔͰ͸ͳ͘ͳͬͨͷ͸ϋοϐʔ ˠΫϥελʔΛ (JU)VC"DUJPOTͷϩʔϧͰ࡞੒͢Δͱ (6*͔Β΋ΞΫηεෆՄͩͬͨ  BOENPSF