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

Private Azure Kubernetes Service cluster を触ってみよう♪

iganari
March 25, 2020

Private Azure Kubernetes Service cluster を触ってみよう♪

2020年3月25日に開催された、第26回 Tokyo Jazug Night での発表資料です
https://jazug.connpass.com/event/165186/

iganari

March 25, 2020
Tweet

More Decks by iganari

Other Decks in Technology

Transcript

  1. ΞδΣϯμͱ஫ҙ఺ ஫ҙ఺ Ø هࡌ͍ͯ͠Δ৘ใ͸ ͷ࣌఺ͷ৘ใͰ͢ ࿩͢͜ͱ Ø 1SJWBUF"[VSF,VCFSOFUFT4FSWJDFDMVTUFS ʹ͍ͭͯ ʹ

    (" Ø ݸਓతʹ஫໨͍ͯ͠Δ৽ػೳʹ͍ͭͯ ࿩͞ͳ͍͜ͱ Ø "[VSFʹ͍ͭͯͷৄࡉઆ໌ Ø ,VCFSOFUFTʹ͍ͭͯͷৄࡉઆ໌ Ø "[VSF,VCFSOFUFT4FSWJDF ",4 ʹ͍ͭͯͷৄࡉઆ໌ 2
  2. 1SJWBUF",4DMVTUFSͱ͸ આ໌ Ø ",4ͷ $POUSPM1MBOFٴͼɺ/PEFQPPMT͕ 3'$Ͱఆٛ͞Ε͍ͯΔ ಺෦ *1ΞυϨεͷΈׂ͕Γ౰ͯΒΕ͍ͯΔ DMVTUFSΛ࡞Δ͜ͱ͕ग़དྷ·͢ Ø

    $POUSPM1MBOFʹ಺แ͞Ε͍ͯΔ "1*αʔόʔͱ/PEFQPPM ಺ͷ /PEF  ؒͷωοτϫʔΫτϥϑΟοΫ͕ϓϥΠϕʔτωοτϫʔΫͷΈʹཹ·ΔΑ ͏ʹ͢Δ͜ͱ͕ग़དྷ·͢ 11 SFGIUUQTEPDTNJDSPTPGUDPNFOVTB[VSFBLTQSJWBUFDMVTUFST
  3. 1SJWBUF",4DMVTUFSͱ͸ આ໌ Ø ",4ͷ $POUSPM1MBOFٴͼɺ/PEFQPPMT͕ 3'$Ͱఆٛ͞Ε͍ͯΔ ಺෦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QSJWBUFDMVTUFST
  8. ༨ஊ ࣮͸ ($1ʹ΋ࣅͨΑ͏ͳ DMVTUFS͕͋Γ·͢ʜ 1SJWBUFDMVTUFST ݶఆެ։Ϋϥελ Ø IUUQTDMPVEHPPHMFDPNLVCFSOFUFTFOHJOFEPDTDPODFQUTQSJWBUFDMVTUFSDPODFQU Ø ʹ

    (" Ø IUUQTDMPVEHPPHMFDPNLVCFSOFUFTFOHJOFEPDTSFMFBTFOPUFTPDUPCFS 27 ࠓճͷ ("ʹΑΓɺ ΍ͬͱ௥͍͍ͭͨײ
  9. ݸਓతʹ஫໨͍ͯ͠Δ৽ػೳ ͷ࣌఺ Ͱ 1SFWJFX 4QPU/PEF1PPMΛ ",4DMVTUFSʹͯ࢖͏ػೳ Ø "EEBTQPUOPEFQPPMUPBO",4DMVTUFS Ø IUUQTEPDTNJDSPTPGUDPNFOVTB[VSFBLTTQPUOPEFQPPM

    Ø 4QPU7. Λ༻͍ͨ 7JSUVBM.BDIJOF4DBMF4FUT Λ ",4ͷ /PEFQPPM ͱͯ͠࢖༻͢Δ͜ͱ͕ग़དྷΔػೳͰ͢ Ø ίετ࡟ݮʹେ͖ͳظ଴͕ग़དྷ·͢ Ø 4QPU7.T౳ʹ͍ͭͯ͸࣍ϖʔδࢀর 29
  10. ݸਓతʹ஫໨͍ͯ͠Δ৽ػೳ ͷ࣌఺ Ͱ 1SFWJFX 4QPU7.Tʹ͍ͭͯ Ø 6TF4QPU7.TJO"[VSF Ø IUUQTEPDTNJDSPTPGUDPNFOVTB[VSFWJSUVBMNBDIJOFTXJOEPXTTQPUWNT 7JSUVBM.BDIJOF4DBMF4FUT

    Ͱ 4QPU7.TΛ ࢖͏ػೳ Ø "[VSF4QPU7.TGPSWJSUVBMNBDIJOFTDBMFTFUT Ø IUUQTEPDTNJDSPTPGUDPNFOVTB[VSFWJSUVBMNBDIJOFTDBMFTFUTVTFTQPU 30
  11. ·ͱΊ 1SJWBUF",4DMVTUFS ͕ ("ʹͳΓ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