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

平成の終わりに振り返るDocker Swarmの話

Kohei Ota
November 21, 2018

平成の終わりに振り返るDocker Swarmの話

Kohei Ota

November 21, 2018
Tweet

More Decks by Kohei Ota

Other Decks in Technology

Transcript

  1. Copyright © ZOZO Technologies, Inc. All Right Reserved. %PDLFS.FFUVQ5PLZP גࣜձࣾ;0;0ςΫϊϩδʔζ

    ։ൃ෦43&νʔϜ ଠాߤฏ ฏ੒ͷऴΘΓʹৼΓฦΔ %PDLFS4XBSNͷ࿩
  2. Copyright © ZOZO Technologies, Inc. All Right Reserved. ΞδΣϯμ ɾ%PDLFS4XBSNͱ͸

    ɾආ͚ͯ͸௨Εͳ͍,VCFSOFUFTͷ͸ͳ͠ ɾͳͥɺࠓ%PDLFS4XBSNͳͷ͔
  3. Copyright © ZOZO Technologies, Inc. All Right Reserved. %PDLFS4XBSNͱ͸ ɾ%PDLFS͕ࣾެࣜΦʔέετϨʔγϣϯπʔϧͱ͔ͯͭͯ͠ग़͍ͯͨ͠

    ίϯςφΦʔέετϨʔγϣϯπʔϧ ɾݱࡏ͸%PDLFSʹ౷߹͞Εɺz4XBSN.PEFzͱͯ͠࢒͍ͬͯΔ ɾ%PDLFSΛೖΕΔ͚ͩͰଈ࢖͑Δɺ͓खܰΦʔέετϨʔγϣϯ πʔϧ ɾ%PDLFSΛ஌͍ͬͯΕ͹ɺΫϥελ্ཱͪ͛Δ·Ͱͷֶशίετ ͕ͱͯ΋௿͍
  4. Copyright © ZOZO Technologies, Inc. All Right Reserved. %PDLFS4XBSNͷ࢖͍ͮΒ͍ͱ͜Ζ ɾωοτϫʔΫपΓ͕΍΍͠ΐ΅͍

    ɾ$&ͩͱ$/*࢖͑ͳ͍ͱ͔ ˞&&͸࢖ͬͨ͜ͱແ͍͚Ͳ͍Ζ͍Ζ௥Ճػೳ͋ͬͯศརͦ͏ ɾ؅ཧը໘͕ެࣜͩͱ͠ΐ΅͍ ɾ๭੨ࢁ͞Μ͕TXBSNQJUͷ঺հهࣄॻ͍ͯͯਆ͔Αͱࢥͬͨ ɾΫϥ΢υϓϩόΠμͷରԠ͕΄ͱΜͲͳ͍ ɾ%PDLFSGPS"84ɾɾɾ
  5. Copyright © ZOZO Technologies, Inc. All Right Reserved. ,VCFSOFUFTͷ΍͹͍ͱ͜Ζʢ͍͍ͱ͜Ζʣ ɾ%PDLFSʹ଍Γͳ͍ͱࢥͬͨ΋ͷ͕େମೖͬͯΔ

    ɾΦʔτεέʔϦϯάͱ͔ ɾѹ౗తͳίϛϡχςΟͷڧ͞ ɾ֤छΫϥ΢υϓϩόΠμ͕༂ىʹͳͬͯରԠͯ͠Δ͋ͨΓ
  6. Copyright © ZOZO Technologies, Inc. All Right Reserved. ,VCFSOFUFTͷ΍͹͍ͱ͜ΖʢΘΔ͍ͱ͜Ζʣ ɾѹ౗తͳ೉͠͞

    ɾ෼ࢄॲཧ׬શʹཧղͨ͠ ɾ౰ͨΓલ͚ͩͲɺ3BJMTͰΘʔ͍ʂαʔϏε࡞Εͨʂͱ͔ݴͬͯΔͱ͖ ʹಋೖ͢Δπʔϧ͡Όͳ͍ ɾ,VCFSOFUFTΛ؅ཧ͢ΔͨΊͷ,VCFSOFUFTͱ͔΍Δͷ͜Θ͍ ɾ෼ࢄج൫ͱ͔͍Βͳ͍Ϩϕϧͷখ͞ͳ8FCΞϓϦͷ؀ڥʹೖΕΔ΄Ͳ ͷεέʔϧ͡Όͳ͍
  7. Copyright © ZOZO Technologies, Inc. All Right Reserved. Docker Swarm

    Kubernetes εέʔϦϯά ൒ࣗಈ
 (ίϚϯυͷΈରԠ) શࣗಈ (ManifestͰॻ͚Δ) Network Overlay NetworkΛ௨ͨ͡
 ෛՙ෼ࢄ L4/L7Ͱ͍Ζ͍ΖͰ͖Δ ؂ࢹͱώʔϦϯά ίϯςφ͕ࢮΜͰΔͷΛ֬ೝͨ͠Β৽ ͍͠ίϯςφΛཱͯͯ͘ΕΔ ϔϧενΣοΫ͸σϑΥͰೖ͍ͬͯͳ ͍ LivenessͱReadinessͷ2ͭͷ؍఺Ͱ ؂ࢹͯ͘͠ΕͯɺώʔϦϯάͨ͠Γ τϥϑΟοΫ؅ཧͨ͠Γ ֶशίετ ΄΅Docker ΄΅Docker͡Όͳ͍ Ϋϥ΢υରԠ ஌ͬͯΔݶΓͳ͍ GKE/AKS/EKSͳͲ
  8. Copyright © ZOZO Technologies, Inc. All Right Reserved. ۀ຿ίετʹݟ߹ͬͯ΋͍͍མͱ͠ॴ͸Ͳ͜ʁ ɾ,VCFSOFUFTʁ

    ɾ0QFO4IJGUʁ ɾ3BODIFSʁ ɾ֤छΫϥ΢υʁ ɾ%PDLFS4XBSNͱ͍͏બ୒ࢶ͕͋ͬͯ΋͍͍ͷͰ͸ʁ