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

Empower your Kubernetes with Service Mesh + Distributed Tracing

Empower your Kubernetes with Service Mesh + Distributed Tracing

Empower your Kubernetes with Service Mesh + Distributed Tracing by 許浩鳴 @ COSCUP 2021 開源運河上的雲原生號
Event page: https://coscup.org/2021/zh-TW/session/WQ8RFR

2102a6b8760bd6f57f672805723dd83a?s=128

LINE Developers Taiwan
PRO

August 01, 2021
Tweet

Transcript

  1. &NQPXFSZPVS,VCFSOFUFTXJUI 4FSWJDF.FTI %JTUSJCVUFE5SBDJOH Ming Hsu 2021.08

  2. 關於我 2 ୆େࢿ޻ܥେ࢛ -*/&5PEBZ43&5FBN Ming Hsu (許浩鳴) LINE Taiwan /

    TECHFRESH
  3. Service Mesh What is Service Mesh Why Service Mesh Linkerd

    Distributed Tracing What is distributed tracing Grafana + Loki + Jaeger Service Mesh & Distributed Tracing ⼿把⼿實作 01 02 03 Contents 3 圖源:我
  4. 4FSWJDF.FTI

  5. 8IBUJT4FSWJDF.FTI 5  Application Application  ఏڙጯ༻ఔࣜ҆શੑɺՄᯪੑɺ؂߇ԙҰᱪతฏ୆جૅઃࢪ  ሡྲྀྔ؅߇ኺጯ༻૚Ҡ౸ฏ୆૚ MPBECBMBODJOH

    SBUFMJNJUJOH USB⒏DTQMJU DJSDVJUCSFBLFS  ጯ༻ఔࣜෆ။ҙࣝ౸ሏ
  6. 8IBUJT4FSWJDF.FTI 6  Application Application Security Security  ఏڙጯ༻ఔࣜ҆શੑɺՄᯪੑɺ؂߇ԙҰᱪతฏ୆جૅઃࢪ 

    ሡྲྀྔ؅߇ኺጯ༻૚Ҡ౸ฏ୆૚ MPBECBMBODJOH SBUFMJNJUJOH USB⒏DTQMJU DJSDVJUCSFBLFS  ጯ༻ఔࣜෆ။ҙࣝ౸ሏ
  7. 8IBUJT4FSWJDF.FTI 7  Application Application Security Security Observability Observability 

    ఏڙጯ༻ఔࣜ҆શੑɺՄᯪੑɺ؂߇ԙҰᱪతฏ୆جૅઃࢪ  ሡྲྀྔ؅߇ኺጯ༻૚Ҡ౸ฏ୆૚ MPBECBMBODJOH SBUFMJNJUJOH USB⒏DTQMJU DJSDVJUCSFBLFS  ጯ༻ఔࣜෆ။ҙࣝ౸ሏ
  8. 8IBUJT4FSWJDF.FTI 8   ఏڙጯ༻ఔࣜ҆શੑɺՄᯪੑɺ؂߇ԙҰᱪతฏ୆جૅઃࢪ  ሡྲྀྔ؅߇ኺጯ༻૚Ҡ౸ฏ୆૚ MPBECBMBODJOH SBUFMJNJUJOH USB⒏DTQMJU

    DJSDVJUCSFBLFS  ጯ༻ఔࣜෆ။ҙࣝ౸ሏ Application Application Security Security Observability Observability Traffic control Traffic control
  9. 8IZ4FSWJDF.FTI 9   େ෯߱௿ඍ෰຿Սߏత։๏ᢛߔ௨੒ຊ ጯ༻ఔࣜෆ။ҙࣝ౸ሏ  *OGSBTUSVDUVSFBT$PEF *B$ 

     ಁ໌త໢࿏୓墣  ྲྀྔ߇੍ᢛෛࡌۉߧ  ։ശଈ༻తNPOJUPSJOHUPPMT  .VMUJDMVTUFSTFDVSJUZ  #MB[JOHGBTU
  10. -JOLFSE 10   շ଎ɺ᫊ྔɺޭೳᴡશతTFSWJDFNFTI  ૬ֱଖଞTFSWJDFNFTI ೗*TUJP ઃఆߋ؆ᄸᢛ޷ҡޢ 

    )JHIBWBJMBCJMJUZNPEF
  11. &YBNQMF 11 

  12. &YBNQMF 12 

  13. (PMEFO.FUSJDT 13  4VDDFTTSBUF  TVDDFTTSFRVFTUSBUFJONJO  "DUVBMTVDDFTT CFGPSFSFUSJFT 

     &⒎FDUJWFTVDDFTT BGUFSSFUSJFT 5SB⒏D 3FRVFTUT1FS4FDPOE   "DUVBM314  &⒎FDUJWF314 -BUFODJFT  5JNFTUBLFOUPQFSTFSWJDFSPVUF  UI UI UIQFSDFOUJMF
  14. (PMEFO.FUSJDT 14  4VDDFTTSBUF  TVDDFTTSFRVFTUSBUFJONJO  "DUVBMTVDDFTT CFGPSFSFUSJFT 

     &⒎FDUJWFTVDDFTT BGUFSSFUSJFT 5SB⒏D 3FRVFTUT1FS4FDPOE   "DUVBM314  &⒎FDUJWF314 -BUFODJFT  5JNFTUBLFOUPQFSTFSWJDFSPVUF  UI UI UIQFSDFOUJMF
  15. %JTUSJCVUFE5SBDJOH

  16. 8IBUJT%JTUSJCVUFE5SBDJOH 16   ࡏ෼ࢄ؀ڥԼ᧺࡯੥ٻᢛྲྀྔతҰܥྻٕज़  ಘҎލӽTFSWJDFCPVOEBSZ௥᪦ॴ༗ඃ ੥ٻత෰຿ &OEUP&OE7JTJCJMJUZ 

     Մ᤻༝෼ੳMBUFODJFTྃղܥ౷ළᰍ  Մ᫊ᱷಘ౸੔ݸ෰຿తEFQFOEFODJFT
  17. 8IBUJT%JTUSJCVUFE5SBDJOH 17   5SBDJOHIFBEFS༗ᏐछGPSNBUɼൺ೗;JQLJO#GPSNBU  9#1BSFOUTQBOJE 9#4BNQMFE 9#4QBOJE 9#5SBDFJE

     ҃ੋ+BFHFSGPSNBU  ,FZ6CFS5SBDF*E  7BMVF\USBDFJE^\TQBOJE^\QBSFOUTQBOJE^\qBHT^  )FBECBTFETBNQMJOH
  18. (SBGBOB -PLJ +BFHFS 18  Data visualization Logging Tracing

  19. (SBGBOB -PLJ +BFHFS 19  Data visualization Logging Tracing

  20. (SBGBOB -PLJ +BFHFS 20  Data visualization Logging Tracing

  21. (SBGBOB -PLJ +BFHFS 21  Data visualization Logging Tracing

  22. (SBGBOB -PLJ +BFHFS 22  Data visualization Logging Tracing

  23. (SBGBOB -PLJ +BFHFS 23  Data visualization Logging Tracing

  24. 4FSWJDF.FTI%JTUSJCVUFE5SBDJOH 24   ၷऀօՄ෼ੳTFSWJDFIFBMUI MBUFODZ ᢛUPQPMPHZ  4FSWJDFNFTIআྃPCTFSWBCJMJUZ֎໵ఏڙTFDVSJUZᢛUSB⒏DDPOUSPM 

    4FSWJDFNFTIઃܭҝTUBUFMFTTɼएཁӬٱอଘUSBDFؐੋधཁ༻౸+BFHFS  ೗Կ݁߹ၷऀʁ
  25. ख೺खመ࡞

  26. (PBM 26  ࡏ,VCFSOFUFT্ӡߦ-JOLFSEᢛ+BFHFSCBDLFOE  啟༻-JOLFSEతUSBDJOHޭೳฒ࿈઀+BFHFSCBDLFOE  ࡏ-JOLFSE্෦ॺඍ෰຿ฒ஫ೖ-JOLFSEQSPYZ  ࢖༻0QFODFOTVT$PMMFDUPS۲઀BQQMJDBUJPOᢛ-JOLFSEQSPYZతTQBO

     ྃղ೗Կ༻(PޠݴQSPQBHBUFUSBDJOHTQBOT )551H31$   $IBPTFOHJOFFSJOHŠ࢖༻-JOLFSEతPCTFSWBCJMJUZ޻۩ഉ查໰୊
  27. "SDIJUFDUVSF 27

  28. 0QFO$FOTVT$PMMFDUPS 28  7FOEPSOFVUSBM  4UBCMF DPNQBSFEUP0QFO5FMFNFUSZ   6TFECZ-JOLFSE

  29. %FNP 29 IUUQTHJUIVCDPNNJOHITVFNPKJWPUPLVTUPNJ[BUJPO

  30. %JTUSJCVUFE5SBDJOHJO(P 30 5SBDJOH&YQPSUFS

  31. Distributed Tracing in Go 31 H31$$MJFOU H31$4FSWFS

  32. %JTUSJCVUFE5SBDJOHJO(P 32 )5514FSWFS )551$MJFOU

  33. 3FGFSFODF

  34. -JOLT 34 IUUQTMJOLFSEJPMJOLFSEWTJTUJPCFODINBSLT IUUQTMJOLFSEJPPWFSWJFX IUUQTXXXKBFHFSUSBDJOHJP  IUUQTXXXDODGJP  IUUQTHJUIVCDPN#VPZBOU*0FNPKJWPUP

  35. 5)"/,:06

  36. 2"