AKS,EKS,GKEコマンド比較してみた /compared AKS, EKS, GKE command

9a71d9081335ef7d5ecfa86155c949af?s=47 yutachaos
February 19, 2019

AKS,EKS,GKEコマンド比較してみた /compared AKS, EKS, GKE command

Kubernetes Meetup Tokyo #16 発表 LT
https://k8sjp.connpass.com/event/116799/

9a71d9081335ef7d5ecfa86155c949af?s=128

yutachaos

February 19, 2019
Tweet

Transcript

  1. AKS,EKS,GKEίϚϯυ ൺֱͯ͠Έͨ Kubernetes Meetup Tokyo #16 2019/02/19

  2. 8IPBN* w໦ଜ༐ଠ wΠϯϑϥΤϯδχΞ EFWPQTܥͷ࿩୊͕޷͖Ͱ͢  w (JUIVC w IUUQTHJUIVCDPNZVUBDIBPT w

    -PWF w $POUBJOFS *B$ .VTJD #PPLT 1MBZUIFCBTT w ࠷ۙ,VCFSOFUFTʹೖ໳͠·ͨ͠ɻ,VCFSOFUFTNFFUVQॳࢀՃͰ͢ ?@?
  3. ελσΟαϓϦ&/(-*4)ͱ͍͏αʔϏεʹؔΘͬͯ·͢ɻ

  4. ڈ೥͸&OWPZΛαʔϏεʹೖΕͨΓͯ͠·ͨ͠ɻ IUUQTUFDISFDSVJUNQDPKQJOGSBTUSVDUVSFQPTU

  5. "HFOEB w (,& &,4 ",4ͷେ·͔ͳҧ͍ w ίϚϯυΛݟൺ΂ͯΈͨ w ·ͱΊ

  6. &,4 (,& ",4Կ͕ҧ͏Μʁ

  7. ҧ͍Λௐࠪ ͬ͘͟Γ w ࣌఺Ͱௐ΂·ͨ͠ɻ

  8. &,4 w "NB[PO&MBTUJD$POUBJOFS4FSWJDFGPS,VCFSOFUFT w ,VCFSOFUFTͷNBTUFS DPOUSPMQMBOF Λఏڙ͢Δɻ w 8PSLOPEFͷ؅ཧ͸ผ్ͷํ๏Ͱߦ͏ w

    FLTDUM΍UFSSBGPSNFLTNPEVMF͕ศར w BXTJBNBVUIFOUJDBUPSΛհͯ͠ɺ*".ϕʔεͰͷݖݶ؅ཧ͕Մೳ w DMVTUFS DPOUSPMQMBOF ͷ࡞੒ͷΈͰ෼͙Β͍͔͔ΔͷͰ΍΍௕͍ w UFSSBGPSNͰ࣮ࡍʹ࡞ͬͯ෼ඵͩͬͨ

  9. (,& w ($1͕ఏڙ͢ΔNBOBHFE,VCFSOFUFTTFSWJDF w ,VCFSOFUFTͷNBTUFSͱXPSLOPEFΛ؅ཧ͢Δ͜ͱ͕ग़ དྷΔɻ w ॳظߏங͕ؾָ w ্ཱ͕ͪΓ଎౓͕ૣ͍OPEFͷ਺΍TJ[Fʹ΋دΔ͕ɺඪ४

    ͷDSFBUFDMVTUFS OTUBOEBSE୆ ͩͱ෼͙Β͍ Ͱ্ཱ͕ͪΔɻ
  10. ",4 w "[VSF,VCFSOFUFT4FSWJDF w "[VSFʹ͸"$4 "[VSF$POUBJOFS4FSWJDF ͱ͍͏TXBSN΍.FTPT Λ࢖ͬͨ4FSWJDF΋͕͋ͬͨɺݱࡏ͸ඇਪ঑ w LVCFSOFUFTͷNBTUFSͱXPSLOPEFΛ؅ཧ͢Δ͜ͱ͕ग़དྷΔɻ

    w ॳظߏங͕ؾָ w "%Λհͨ͠ೝূɾೝՄ੍ޚ͕Մೳ w ্ཱ͕ͪΓ଎౓͕(,&ͱൺ΂Δͱ஗͍ɻ4UBOEBSE@%4@W୆Ͱ ෼ඵ͔͔ͬͨɻ
  11. جຊͷίϚϯυମܥͷҧ͍ ",4 B[BLT\TVCDPNNBOE^ (,& HDMPVEDPOUBJOFSDMVTUFST\TVCDPNNBOE^ &,4 BXTFLT\TVCDPNNBOE^

  12. ίϚϯυ಺༰ AKS GKE EKS cluster࡞੒ az aks create gcloud container

    clusters create aws eks create-cluster cluster࡟আ az aks delete gcloud container clusters delete aws eks create-cluster cluseter৘ใͷऔಘ az aks show gcloud container clusters describe aws eks describe-cluster clusterͷupdateதͷversion ͷৄࡉΛऔಘ ͳ͠ gcloud beta container operations describe aws eks describe-update clusterҰཡऔಘ az aks list gcloud container clusters list aws eks list-cluster ར༻ग़དྷΔKubernetes versionͷҰཡऔಘ az aks get-versions gcloud container get-server- config updateঢ়گͷҰཡ֬ೝ ͳ͠ gcloud beta container operations list aws eks list-updates upgradeग़དྷΔKubernetes versionͷऔಘ az aks get-upgrades kubebernetesͷೝূ৘ใͷ औಘ az aks get-credentials gcloud container clusters get-credentials aws eks update-kubeconfig kubernetes masterͷߋ৽ az aks upgrade gcloud container clusters upgrade aws eks update-cluster- version Worker nodeͷscale az aks scale gcloud container clusters resize eks͸worker nodeͷ؅ཧΛ ߦΘͳ͍ͷͰແ͍
  13. ·ͱΊ w ઌਓͷهࣄͱ͔ΛಡΉݶΓͰ΋γϯϓϧʹ࢖͏ʹ͸(,& ͕ྑͦ͞͏ w &,4͕$POUSPM1MBOF͔͠औΓѻΘͳ͍ͷͰେ෼ମܥ͕ҧ ͏ͷ͔ͱࢥͬͨΒͦ͏Ͱ΋ͳ͔ͬͨɻ ͨͩ͠PQUJPOൺֱ ͢Δͱ৭ʑҧ͏ 

    w VQEBUFͱVQHSBEFͷҙຯͷ࢖͍෼͚Λ஌Γ͍ͨɻ
  14. ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ