Istio Service Mesh easy experience using Rancher

Istio Service Mesh easy experience using Rancher

Rancher Meetup #6 in Osaka Jan 18, 2019

Bf5ee9059859ed5d855b5ff4680e63e2?s=128

track3jyo-hama

January 18, 2019
Tweet

Transcript

  1. 1.

    Istio Service Mesh easy experience using Rancher Rancher Meetup #6

    in Osaka Jan 18, 2019 Hama Shinichi(@track3jyo)
  2. 2.

    WHO?? • Hama Shinichi(@track3jyo) • Kobe Digital Labo Inc. -

    Cloud Native Team • Senior Cloud Architect • Rancher Meetup,͘͡Β΍,CNJP • Tech books,Rakugo!
  3. 3.

    Agenda 1. Rancher Catalog 2. Why Istio?? 3. Istio Using

    Rancher 4. Conclusion & Notification
  4. 12.

    Control Plane(Istio) • data planeͷڍಈΛ੍ޚ͢ΔServiceMeshͷ಄೴ • ઌ΄ͲͷNginxͷྫͰݴ͏ͱɺNginxͷઃఆΛ࡞੒ɾߋ ৽͢Δਓؒ Service mesh

    data plane vs. control plane https://blog.envoyproxy.io/service-mesh-data-plane-vs-control- plane-2774e720f7fc
  5. 13.

    Istio Using Rancher • IstioΛαΠυΧʔϓϩΩγͰk8sʹinject͠Α͏ͱ͢Δͱ ·ͨ͜͜ͰίϚϯυͰ͝ʹΐ͝ʹΐɾɾɾ • ɾɾɾͱ͸ͳΓ·ͤΜʂʂ DVSM-IUUQTHJUJPHFU-BUFTU*TUJPcTI DEJTUJP

    FYQPSU1"5)18%CJO1"5) LVCFDUMBQQMZGJOTUBMMLVCFSOFUFTJTUJPZBNM LVCFDUMHFUTWDOJTUJPTZTUFN LVCFDUMHFUQPETOJTUJPTZTUFN LVCFDUMBQQMZG JTUJPDUMLVCFJOKFDUEFCVHGTBNQMFTCPPLJOGPLVCF CPPLJOGPZBNM 
  6. 19.

    sample Bookinfo Application deploy • RancherͰߏஙͨ͠Ϋϥελͷdefault nameSpace্Ͱ bookinfo.yamlΛimport • FYQPSU("5&8":@63-

    LVCFDUMHFUQPOJTUJPTZTUFNMJTUJPJOHSFTT PKTPOQBUI\JUFNT<>TUBUVTIPTU*1^  LVCFDUMHFUTWDJTUJPJOHSFTTO JTUJPTZTUFNPKTPOQBUI\TQFDQPSUT<>OPEF1PSU^  IUUQ("5&8":@63-QSPEVDUQBHFʹΞΫηεʂʂ
  7. 23.

    Blue/Green deployment & canary-release • IstioʹΑΔenvoyͷ׆༻ʹΑΓΑΓෳࡶͳdeploy͕Մೳ 1. ϦϦʔεόʔδϣϯͷHTTPϔομʹԠͨ͡ϧʔ ςΟϯάʹΑΔBlue/Green deployment

    BQJ7FSTJPODPOpHJTUJPJPWBMQIB LJOE3PVUF3VMF NFUBEBUB OBNFCMVFHSFFOUFTU TQFD EFTUJOBUJPO OBNFSFWJFXT QSFDFEFODF NBUDI SFRVFTU IFBEFST DPPLJF SFHFY?   SFMFBTFW   SPVUF MBCFMT WFSTJPOW
  8. 24.

    Blue/Green deployment & canary-release • IstioʹΑΔenvoyͷ׆༻ʹΑΓΑΓෳࡶͳdeploy͕Մೳ 2. ॏΈ෇͚ʹΑΔΧφϦΞσϓϩΠ BQJ7FSTJPODPOpHJTUJPJPWBMQIB LJOE3PVUF3VMF

    NFUBEBUB OBNFDBOBSZSFMFBTFUFTU TQFD EFTUJOBUJPO OBNFSFWJFXT QSFDFEFODF SPVUF MBCFMT WFSTJPOW XFJHIU MBCFMT WFSTJPOW XFJHIU
  9. 25.

    Blue/Green deployment & canary-release • IstioʹΑΔenvoyͷ׆༻ʹΑΓΑΓෳࡶͳdeploy͕Մೳ 3. τϥϑΟοΫͷϛϥʔϦϯάʹΑΔdark launch BQJ7FSTJPODPOpHJTUJPJPWBMQIB

    LJOE3PVUF3VMF NFUBEBUB OBNFNJSSPSUSB⒏DUFTU TQFD EFTUJOBUJPO OBNFSFWJFXT QSFDFEFODF SPVUF MBCFMT WFSTJPOW XFJHIU MBCFMT WFSTJPOW XFJHIU NJSSPS OBNFSFWJFXT MBCFMT WFSTJPOW