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

Docker for Mac/Windows ではじめる Kubernetes / NDS...

Docker for Mac/Windows ではじめる Kubernetes / NDS55 Docker with Kubernetes

Hayato Imai

March 17, 2018
Tweet

More Decks by Hayato Imai

Other Decks in Technology

Transcript

  1. ίϯςφ w ࢖༻͢Δ04ϚγϯϦιʔεΛִ཭ɺ੍ݶͨ͠ϓϩηε w ִ཭/BNFTQBDF DISPPUQJWPU@SPPU  w ੍ݶDHSPVQ DBQBCJMJUJFT

     w ϓϩηεΛαϙʔτ͢ΔͨΊʹඞཁͳ͢΂ͯͷϑΝΠ ϧΛؚΉ͜ͱͰɺಠཱͨ͠04؀ڥͷΑ͏ʹѻ͏͜ͱ͕ Ͱ͖Δ
  2. %PDLFS ⾢%PDLFSͷػೳΛఏڙ ⾢SVO$Ͱ࣮ߦ͢Δίϯςφͷ؅ཧ ⾢࣮ࡍʹίϯςφΛىಈ͢ΔܰྔόΠφϦ ⾢௿Ϩϕϧͷίϯςφ؅ཧλεΫͷॲཧ ⾢%PDLFSΠϝʔδΛؚΉίϯςφϓϩηε DPOUBJOFS SVO$ DPOUBJOFS %PDLFS*NBHF

    SVO$ DPOUBJOFS %PDLFS*NBHF SVO$ %PDLFS*NBHF $-* EPDLFS "1* EPDLFSE DPOUBJOFSETIJN DPOUBJOFSETIJN DPOUBJOFSE DPOUBJOFSETIJN ίϯςφܕԾ૝Խ؀ڥΛఏڙ͢Διϑτ΢ΣΞ
  3. ,VCFSOFUFTͷΞʔΩςΫνϟ .BTUFS FUDE TDIFEVMFS "1*4FSWFS DPOUSPMMFS $-* LVCFDUM "1* /PEF

    "EEPO T 1PE 1PE QSPYZ LVCFMF U %PDLFS 1PE 1PE /PEF "EEPO T 1PE 1PE QSPYZ LVCFMF U %PDLFS 1PE 1PE /PEF "EEPOT 1PE 1PE QSPYZ LVCFMFU DPOUBJOFS SVOUJNF 1PE 1PE ⾢,VCFSOFUFTΫϥελΛ؅ཧ w"1*ͷఏڙ w1PE΍ϊʔυͷঢ়ଶ؅ཧ wϊʔυʹର͢Δ1PEͷσϓϩΠ ⾢ίϯςφԽ͞ΕͨΞϓϦέʔγϣϯΛ࣮ߦ w1PEͷ࡞੒΍࡟আ wϘϦϡʔϜͷׂ౰ w1PE΁ͷϧʔςΟϯά΍ϩʔυόϥϯε .BTUFSͱ/PEFͰߏ੒͞ΕΔ
  4. 1PE 1PE *1 DPOUBJOFS 1PE *1 DPOUBJOFS 1PE *1 DPOUBJOFS

    DPOUBJOFS 1PE *1 DPOUBJOFS DPOUBJOFS ,VCFSOFUFT͕ѻ͏σϓϩΠͷ࠷খ୯Ґ w ̍ͭҎ্ͷίϯςφͷ·ͱ·Γ w ίϯςφؒͰωοτϫʔΫ΍7PMVNFΛڞ༗͢Δ 7PMVNFͷछྨͱϥΠϑλΠϜ w FNQUZ%JS7PMVNF1PE w IPTU1BUI7PMVNF/PEF w 1FSTJTUFOU7PMVNFӬଓԽ
  5. ίϯςφσβΠϯύλʔϯ Ξϯόαμʔύλʔϯ 1PE *1 BQQ SFQMJDB NBTUFS SFQMJDB SFQMJDB QSPYZ

    w ֎෦ͱͷ΍ΓऔΓΛݞ୅ΘΓ Ξμϓλύλʔϯ 1PE *1 BQQ" 1PE *1 BQQ# BEBQUFS BEBQUFS .POJUPSJOH w ֎෦ʹରͯ͠ڞ௨ͷΠϯλʔϑΣʔε Λఏڙ γϯάϧϊʔυɾϚϧνίϯςφύλʔϯ αΠυΧʔύλʔϯ 1PE *1 MPHTBWFS -PH%# w ϝΠϯͱͳΔίϯςφΛิॿ BQQ
  6. 1PEͷσϓϩΠ $POUSPMMFS1PEͷϥΠϑαΠΫϧΛ؅ཧ͢ΔΦϒδΣΫτ 1PE999 1PE::: 1PE;;; 3FQMJDB4FU UFNQMBUF SFQMJDBT w ਫฏεέʔϦϯά

    3FQMJDB4FU 3FQMJDB4FU %FQMPZNFOUT UFNQMBUF SFQMJDBT w 3FQMJDB4FUͷੈ୅؅ཧ w ϩʔϧόοΫ w ϩʔϦϯάΞοϓσʔτ
  7. 1PEͷσϓϩΠ ಛघͳ$POUSPMMFS %BEFNPO4FU UFNQMBUF /PEF 1PE999 /PEF 1PE::: /PEF 1PE;;;

    w ֤/PEFʹσϓϩΠ 1PE999 1PE::: 1PE;;; +PC$SPO+PC UFNQMBUF DPNQMFUJPOT QBSBMMFMJTN ݁Ռ w όονॲཧ w ఆظ࣮ߦ $SPO+PC 1PE 1PE 1PE 4UBUFGVM4FU UFNQMBUF SFQMJDBT w 1PEͷεςʔτ؅ཧ w ࡟আ͞Εͯ΋ಉ͡1PE*%Ͱىಈ w ಉ͡17͕࢖ΘΕΔ
  8. %PDLFSGPS.BD8JOEPXT XJUI,VCFSOFUFT w GPS.BD  GPS8JOEPXT    w

    ઃఆը໘ͷνΣοΫϘοΫεΛ༗ޮʹ͢Δͩ ͚Ͱ͙͢ʹར༻Մೳ w γϯάϧϊʔυͷ,VCFSOFUFTΫϥελΛ ఏڙ ଞʹ΋LTΫϥεληοτΞοϓπʔϧʹ͸ NJOJLVCF LVCFTQSBZ LVCFBENͳͲ͕͋Δ &EHFDIBOOFMͷϦϦʔεʹ,VCFSOFUFTΛ౷߹
  9. ͔ͭͬͯΈΔ 1PEΛσϓϩΠ͢Δ LVCFDUMSVOXFCa JNBHFOHJOYa DPNNBOECJOTIDIPTUOBNFVTSTIBSFOHJOYIUNMJOEFYIUNMOHJOYHEBFNPOP⒎ LVCFDUMHFUQPE EFQMPZNFOU TFSWJDFPXJEF /".&3&"%:45"5643&45"354"(&*1/0%& QPXFCCDCEGDI3VOOJOHTEPDLFSGPSEFTLUPQ

    /".&%&4*3&%$633&/56150%"5&"7"*-"#-&"(&$0/5"*/&34*."(&44&-&$503 EFQMPZXFCTXFCOHJOYSVOXFC /".&5:1&$-645&3*1&95&3/"-*11035 4 "(&4&-&$503 TWDLVCFSOFUFT$MVTUFS*1OPOF5$1EOPOF
  10. ͔ͭͬͯΈΔ 1PEΛεέʔϧ͢Δ LVCFDUMTDBMFSFQMJDBTEFQMPZNFOUXFC LVCFDUMHFUQPE EFQMPZNFOU TFSWJDFPXJEF /".&3&"%:45"5643&45"354"(&*1/0%& QPXFCCDCEGDI3VOOJOHNEPDLFSGPSEFTLUPQ QPXFCCDCET[GX3VOOJOHTEPDLFSGPSEFTLUPQ QPXFCCDCEXHEK3VOOJOHTEPDLFSGPSEFTLUPQ

    /".&%&4*3&%$633&/56150%"5&"7"*-"#-&"(&$0/5"*/&34*."(&44&-&$503 EFQMPZXFCNXFCOHJOYSVOXFC /".&5:1&$-645&3*1&95&3/"-*11035 4 "(&4&-&$503 TWDLVCFSOFUFT$MVTUFS*1OPOF5$1EOPOF TWDXFC-PBE#BMBODFSMPDBMIPTU5$1NSVOXFC GPSJJO TFR EPDVSMMPDBMIPTUEPOF XFCCDCET[GX XFCCDCEGDI  XFCCDCEXHEK
  11. ͔ͭͬͯΈΔ 1PEΛεέʔϧ͢Δ /PEF MPDBMIPTU -PBE#BMBODFS $MJFOU %FQMPZNFOUT UFNQMBUF JNBHFOHJOY SFQMJDBT

      1PE  OHJOY  1PE  OHJOY  1PE  OHJOY  MPDBMIPTU