CNDK2019-Rancher製品説明1128

3218b28de1401d518a2fdfa198bec1b5?s=47 cheng
November 28, 2019

 CNDK2019-Rancher製品説明1128

CNDK2019-Rancher製品説明1128

3218b28de1401d518a2fdfa198bec1b5?s=128

cheng

November 28, 2019
Tweet

Transcript

  1. 2.

    About me Jianqiang Cheng(ͪΜ) Field Engineer at Rancher Labs. cheng@rancher.com

    cheng@slack.rancher.jp ▪Favorite technologies: Rancher, Kubernetes, AWS, Jenkins. ▪Certifications:
  2. 6.

    Rancher is delivering Kubernetes Everywhere Unified Cluster Operations Self Service

    Kubernetes Environments Infrastructure GKE AKS EKS Any RKE RKE - User Interface - Service Catalog - CI/CD - Monitoring - Logging - Alerting Ops Dev - Provisioning - Auth/RBAC - Policy - Security - Capacity
  3. 7.

    App Catalog CI/CD Monitoring Logging Security RBAC & PSP Registry

    Container Runtime Network & Storage Service Mesh Authentication Kubernetes What Rancher takes an SLA on Manage all this? … or this? What does Rancher cover? Rancher Certified Integrations
  4. 8.

    8 What is Rancher • Ͳ͜Ͱ΋,VCFSOFUFTΛσϓϩΠɻΦϯϓϨɺΫϥ΢υ ͳͲͷ؀ڥΛލ͍ͰΫϥελͷ؅ཧ͕Ͱ͖Δ • ؅ཧԼʹ͋Δ͢΂ͯͷΫϥελʹର͠ɺूதೝূɺΞΫ ηε੍ޚͳͲͷػೳΛఏڙ

    • )FMNΛϕʔεͱͨ͠Χλϩάػೳ • 1SPNFUIFVTʢϞχλϦϯάʣɺ'MVFOUEʢϩάऔಘʣɺ *TUJPʢαʔϏεϝογϡʣͳͲͷσϑΥϧτ౥ࡌ ಛ௃
  5. 10.

    10 Rancherͷݱঢ়ͱࠓޙ n ݱࡏͷ࠷৽όʔδϣϯ :v2.3.2 n 2020/03ʹϦϦʔε༧ఆ:v2.4 • ؅ཧର৅Ϋϥελ ˠ

     ͱϊʔυ਺ ˠ  ͷ૿Ճ • Rancher HAߏஙͷ؆қԽ • RKEΫϥελʔͷθϩ μ΢ϯλΠϜ ΞοϓάϨʔυ • ΫϥελʔͷηΩϡϦςΟεΩϟϯͱΞϥʔϜ௨஌
  6. 22.

    22 What is k3s ಛ௃ • 40 MBόΠφϦɺ250 MBϝϞϦ࢖༻ྔ •

    KubernetesϚελʔɺKubeletɺContainerd͕ɺ όΠφϦ1ͭͰશ෦ೖΓ • ΑΓܰྔͳsqlite3ΛσϑΥϧτͷετϨʔδ MySQL, Postgres, etcd΋αϙʔτ • ΑΓܰྔͳContainerdΛσϑΥϧτͷϥϯλΠϜ • ରԠΞʔΩςΫνϟ͸ɺx86_64, ARMv7, ARM64
  7. 23.

    23 What is k3s ར༻γʔϯ Edge Dev ϩʔΧϧ։ൃ؀ڥɺΤοδσόΠεͳͲͷͱ͜Ζ • Edge

    • IoT • Dev/Test • Single App Clusters • Embedded in Application
  8. 25.

    Managed k3s In Cloud A learning playground, development or staging

    cluster Much cheaper($5〜), quicker to launch(2min)
  9. 26.

    26 What is k3s ࢖͍ํ • k3sόΠφϦͰΠϯετʔϧ αʔό্ཱ͕͛ k3s server

    --disable-agent Agentϊʔυ௥Ճ k3s agent --server https://myserver:6443 --token • Docker$PNQPTF https://github.com/rancher/k3s/blob/master/docker-compose.yml https://github.com/rancher/k3s/blob/master/docker-compose-agent.yml • k3d(k3s in Docker) https://github.com/rancher/k3d
  10. 31.

    31 What is k3os ಛ௃ • k3s࣮ߦʹಛԽͨ͠ϛχϚϜOS • ܰྔͷͨΊɺىಈ͕ૣ͍ •

    UbuntuΧʔωϧΛϕʔε • k3sͱͷ౷߹؅ཧ • ରԠΞʔΩςΫνϟ͸ɺx86_64, ARM
  11. 44.

    44 What is Longhorn Πϯετʔϧํ๏ • Rancher؅ཧԼͷΫϥελʔ RancherΧλϩάը໘ͰɺϘλϯOneΫϦοΫ • ͦͷͨͷΫϥελʔ

    kubectlʹΑΔΠϯετʔϧ kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml helmʹΑΔΠϯετʔϧ helm install ./longhorn/chart --name longhorn --namespace longhorn-system
  12. 45.

    45 What is Longhorn ಛ௃ • KubernetesΫϥελʔ΁ͷσϓϩΠ͕؆୯ • ؅ཧ༻ͷWebͷGUIΛఏڙ •

    ϘϦϡʔϜͷεφοϓγϣοτόοΫΞοϓՄೳ(S3,NFS) • KubernetesΫϥελʔͷεέʔϧΞ΢τ࣌ͷࣗಈରԠ • ϚΠΫϩαʔϏεͷߏ଄ͷҝɺো֐ͷӨڹΛ࠷খݶ
  13. 49.

    49 What is Rio • ओͳಛ௃ McrioPaaS = ܰྔ൛ͳPaaS n

    PaaSతͳػೳ • ։ൃϏϧυ͔Βӡ༻؂ࢹػೳ·ͰΛΧόʔ • Ϛϧνςφϯτʢෳ਺ͷΞϓϦʣରԠ • ΠϯϑϥΛҙࣝ͠ͳ͍ • Run everywhere(k8s) n ܰྔͰ͋Δ • Kubernetes΍IstioͳͲͷΤίγεςϜΛ૊Έ߹ΘͤͰ࡞੒ • ϞδϡϥʔΞʔΩςΫνϟͰɺෆཁͳػೳΛ֎ͤΔ • KubernetesͷطଘͷػೳΛมߋ͠ͳ͍ • ϩʔΧϧ؀ڥ k3s Ͱ΋ՔಇͰ͖Δ
  14. 51.

    51 What is Rio Πϯετʔϧํ๏ # Download the CLI (available

    for macOS, Windows, Linux) $ curl -sfL https://get.rio.io | sh - # Setup your cluster for Rio $ rio install
  15. 54.