kubernetes-meetup-4

 kubernetes-meetup-4

E3d96b25e645921d9e5acbaa36c507a5?s=128

Masato Oshima

April 20, 2017
Tweet

Transcript

  1. ECS͔ΒGKEʹ ৐Γ׵͍͑ͨ Kubernetes Meetup Tokyo #4

  2. Masato Oshima github.com/mpon @_mpon iOS,Scala,Infra Engineer

  3. ϥΠϑΠϕϯτʹ·ͭΘΔαʔϏεΛӡӦ

  4. ͬ͘͟Γࣾ಺ࣄ৘ ։ൃࢧԉ( ελσΟαϓϦ &/(-*4) LJETMZ θΫγΟΩονϯ ɾɾɾ w ֤αʔϏεͷΠϯϑϥߏஙɺӡ༻ w

    ۀ຿վળɺࣗಈԽਪਐ w "84্ʹΠϯϑϥߏங
  5. Πϯϑϥ Elastic Container Service

  6. ίϯςφӡ༻͍͍ʂʂ &$4΋͍͍ ͍͍Αɺ͍͍Μ͚ͩͲ΋ ͪΐͬͱ଍Γͳ͍ͱ͜Ζ΋͋Δ

  7. w "84ͷ֤αʔϏεͱ&$4΁ͷ౷߹͕·ͩ·ͩൃల ్্ w -BVODI$POpHॻ͖௚͠ͳͲΠϯελϯεͷ૿ݮ ͳͲ͕ਏ͍ w %FQMPZ࣌ͷSPMMCBDLͳͲͷ࢓૊Έ͕ͳ͍ͷͰ࡞Δ ඞཁ͕͋Δ w

    ίϯςφͷϩά͕ݟʹ͍͘ w ϙʔτϚοϐϯά͕ͭΒ͍ w $16΍ϝϞϦʹۭ͖͕͋Δͷʹೖͬͯ͘Εͳ͍ͱ ͖͕͋Δ &$4ͷ͍͚ͯͳ͍ͱ͜Ζ
  8. ։ൃࢧԉ 1SPEVDUJWJUZ&OHJOFFSJOH

  9. ΤϯδχΞ͕։ൃʹूதͰ͖Δ؀ڥΛ࡞Δ

  10. 5IF5XFMWF'BDUPS"QQΛ΋ͱʹٞ࿦ w εςʔδϯά؀ڥ͕଍Γͳ͍ w ϩά͕ݟʹ͍͘ w σϓϩΠʹ͕͔͔࣌ؒΔ౳ʑɾɾ

  11. None
  12. )FSPLVϥΠΫͳ1BBT 044ɺ(PMBOHͰ։ൃ .JDSPTPGUʹ+PJOɺܧଓੑ΋͋Γͦ͏ LVCFSOFUFT/BUJWF

  13. %FJTΛ1SPEVDUJPOͰ ӡ༻͢Δͧ

  14. ·ͣ͸ LVCFSOFUFT ͱ஥ྑ͘ͳΔ

  15. ೥ &$4ͱLVCFSOFUFTͷྺ࢙ͷൺֱ ೥ "84&$4

  16. ೥ &$4ͱLVCFSOFUFTͷྺ࢙ͷൺֱ ೥ "84&$4 w %PDLFS͕ϜʔϒϝϯτΛ࡞Δ w ҙ֎ͱLVCFSOFUFTͱ&$4͕ग़ͨλΠϛ ϯά͸มΘΒͳ͍ʁʁʁ

  17. None
  18. #PSHLVCFSOFUFTͷઌഐ (PPHMF͸೥Ҏ্લ͔Βίϯςφͷ ӡ༻Λຊ൪Ͱ΍͖ͬͯͨʢυϠο

  19. ೥ &$4ͱLVCFSOFUFTͷྺ࢙ͷൺֱ ೥ "84&$4

  20. ೥ &$4ͱLVCFSOFUFTͷྺ࢙ͷൺֱ ೥ Y೥ ɾ ɾ ɾ ɾ #PSH

  21. ೥ &$4ͱLVCFSOFUFTͷྺ࢙ͷൺֱ ೥ Y೥ ɾ ɾ ɾ ɾ #PSH ڧ͍ʢ֬৴ʣ

  22. LVCFSOFUFT Ͳ͜Ͱಈ͔͔͢໰୊

  23. w Ͳͷ؀ڥͰ΋ಈ͘ʂ w "84͸ެࣜαϙʔτͳ͠ɺLVCFBXT΍LPQT͕͋Δ .BTUFS/PEFɺFUDEͷ؅ཧͱ͔େมͦ͏ʢയવ ͱͨ͠ΠϝʔδͳͷͰ৭ʑฉ͍ͯΈ͍ͨͰ͢ʣ

  24. w Ͳͷ؀ڥͰ΋ಈ͘ʂ w "84͸ެࣜαϙʔτͳ͠ɺLVCFBXT΍LPQT͕͋Δ .BTUFS/PEFɺFUDEͷ؅ཧͱ͔େมͦ͏ "84͞Μʂʂ ͓ئ͍͠·͢ʂʂʂ

  25. w Ͳͷ؀ڥͰ΋ಈ͘ʂ w "84͸ެࣜαϙʔτͳ͠ɺLVCFBXT΍LPQT͕͋Δ .BTUFS/PEFɺFUDEͷ؅ཧͱ͔େมͦ͏ w ($1Ͱ͸(,& (PPHMF$POUBJOFS&OHJOF ͕͋Δ .BTUFS/PEFɺFUDEɺ(-#$ͳͲ΋Ζ΋Ζάʔ

    άϧ༷͕؅ཧͯ͘͠ΕΔ.BOBHFEͳαʔϏεɻͳΔ΂ ͘਎Λ೚ͤΔɻ
  26. %FJTPO(,&Λݕূͯ͠ LVCFSOFUFT ͍͢͝ͱࢥͬͨͱ͜Ζ

  27. %FJTͷ%BUBCBTF઀ଓͷྫ (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS EFJTEBUBCBTF %FJT

  28. %FJTͷ%BUBCBTF઀ଓͷྫ (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS EFJTEBUBCBTF $MVTUFSͷ֎ʹग़͍ͨ͠ %FJT

  29. $MPVE42- (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS $MPVE42- ($1ͷ$MPVE42-ͷ৔߹$MVTUFSωοτ ϫʔΫͷ֎ͳͷͰΠϯλʔωοτܦ༝Ͱ *1ΞυϨεڐՄPS44-ূ໌ॻ઀ଓɻ TJEFDBSύλʔϯͰ(PPHMF$MPVE42-

    1SPYZΛͨͯΔํ๏͕ެࣜͰ঺հ͞ΕͯΔ ͕ɺ%FJT͕ରԠͯ͠ͳ͍ɻ $MPVE42- 1SPYZ %FJT
  30. ϓϧϦΫνϟϯεʂʁ

  31. ͦΜͳඞཁͳ͔ͬͨ

  32. /BNFTQBDFΛ෼͚Δ (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS $MPVE42- %FJT TRMQSPYZ $MPVE42- 1SPYZ

    ผͷ/BNFTQBDFΛ੾ͬͯɺ 4FSWJDFͱ%FQMPZNFOUͰ QPEΛಈ͔͢ 4FSWJDF
  33. *OUFSOBM$PNNVOJDBUJPO (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS $MPVE42- %FJT TRMQSPYZ $MPVE42- 1SPYZ

    4FSWJDF໊/BNF4QBDF໊Ͱ઀ଓͰ͖ͪΌ͏ʂʂ LVCFEOT໊͕લΛղܾͯ͘͠ΕΔ LVCFSOFUFT͍͢͝ʂʂʂʂʂ 4FSWJDF
  34. ൿಗ৘ใͷѻ͍ (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS $MPVE42- %FJT TRMQSPYZ $MPVE42- 1SPYZ

    $MPVE42-΁ͷ"1*Ωʔͱ͔ %#ͷ઀ଓ৘ใ͸Ͳ͏͢ΔΜ΍ 4FSWJDF
  35. 4FDSFU

  36. 4FDSFUͷఆٛ

  37. 4FDSFUΛ࢖ͬͯൿಗ৘ใΛಡΈࠐΉ (,& LVCFSOFUFT EFJTSPVUFS EFJTDPOUSPMMFS %FJT TRMQSPYZ $MPVE42- 1SPYZ 4FSWJDF

    4FDSFU DSFEFOUJBMKTPO ൿಗ৘ใΛ7PMVNFϚ΢ϯτͰ͖Δʂ ؀ڥม਺ͱͯ͠΋ར༻Ͱ͖Δɻ LVCFSOFUFT͍͢͝ʂʂʂʂʂʂʂ
  38. ϩά͕ݟ΍͍͢

  39. LVCFDUMQSPYZͰ؅ཧը໘͕༻ҙ͞ΕͯΔ

  40. (6*͔Βϩά΋֬ೝͰ͖Δ

  41. ΋ͪΖΜίϚϯυϥΠϯ͔Β΋

  42. ଞʹ΋ ৭ʑ͚͋ͬͨͲ ௐ΂Ε͹ௐ΂Δ΄Ͳ LVCFSOFUT͍͢͝

  43. w Կ͔ى͖ͨ࣌ʹ(,&ͷ໰୊ͳͷ͔ɺ ,VCFSOFUFTͷ໰୊ͳͷ͔ɺ%FJTͷ໰୊ͳͷ ͔ௐ΂Δͷ͕େม w "84͔Β͖ͨਓ͔ؒΒ͢Δͱ($1ͷωοτ ϫʔΫͷ֓೦Ή͍ͣ w ,VCFSOFUFTͷԞ͕ਂ͗͢Δɻߏ੒ཁૉ͕ଟ ͗ͯ͢ຊ͕ॻ͚ͦ͏ɻ

    w ݁ߏ͍͍ͦͦ͜͜ײ͡ʹ׆ൃʹΞοϓσʔτ ͠ଓ͚ͯΔͷͰݹ͍৘ใͱ͔͋Δɻ ͱ͸͍͑LVCFSOFUFT֮͑Δͷେม
  44. ίϯςφΛ ӡ༻͢ΔͳΒ LVCFSOFUFTڧ͠ ·ͱΊͷҰ۟ &$4ͷਐԽ΋ظ଴ʂʂ