OpenTracing & Kubernetes

OpenTracing & Kubernetes

Kubernetes meetup tokyo #3

71d7f6cdf5b1934a1b69f0624f5a7523?s=128

Aya (Igarashi) Ozawa

January 19, 2017
Tweet

Transcript

  1. Kubernetes meetup Tokyo #3 Kubernetes OpenTracing&

  2. AYA IGARASHI @Ladicle NTT Communications Software Engineer ABOUT ME INTRODUCTION

    I'm developing cloud services.
  3. Why OpenTracing?

  4. MICROSERVICES INTRODUCTION Ͳ͜Ͱ͕͔͔͍࣌ؒͬͯΔΜͩΖ? …ίϯϙʔωϯτ͕ଟ͗ͯ͢ϩά௥͏ͷπϥΠ!!!! APIୟ͍ͨ΋ͷͷ ͳΜ͔Ϩεϙϯε஗͍ͳɻ Microservice Architecture

  5. Microservice Architecture DISTRIBUTED TRACING INTRODUCTION ͦ͏ͩɺ෼ࢄτϨʔγϯάΛࢼͦ͏ʂ γεςϜશମΛ௥͏ʹ͸…ɻ

  6. AGENDA INTRODUCTION OpenTracing͕ͳͥ࢝·ͬͨͷ͔ 01 02 03 04 WHY OPENTRACING WHAT

    OPENTRACING DEMO SUMMARIZE OpenTracingͷجຊతͳ࢓૊Έ Kubernetes্ͰOpenTracingΛࢼ͢ ෮शͱ͓·͚
  7. Why & What is OpenTracing?

  8. WHY STARTED? OPENTRACING Famous distributed tracing system ෳ਺ଘࡏ͋ΔͨΊɺFrameworkʹΑͬͯରԠ͍ͯ͠ΔγεςϜ͕ҟͳ Γɺಋೖোนʹͳ͍ͬͯ·ͨ͠ɻͦ͜ͰɺAPIͷΈඪ४Խ͠τϨʔα ͸ࣗ༝ʹબ୒Մೳʹ͢ΔͨΊOpenTracing͕ͭ͘ΒΕ·ͨ͠ɻ

    California, Berkeleyେֶͷ࿦จͰఏҊ͞ΕͨX-trace X-traceΛࢀߟʹͨ͠GoogleͷDapper OSSͱͯ͠͸TwitterͷZipkin
  9. ARCHITECTURE OPENTRACING ϦΫΤετΛड͚औ͔ͬͯΒॲཧ͕׬ྃ͢Δ·ͰͷظؒΛSpanͱͯ͠ DAGͰද͠ɺͦΕΛ࣌ܥྻʹฒ΂ͨ΋ͷΛτϨʔε݁Ռͱͯ͠දࣔ͠·͢ɻ શͯͷSpan͸໊લͱ։࢝࣌ؒɺܧଓ࣌ؒଞΛ͓࣋ͬͯΓɺଞͷSpanͱͷͭ ͳ͕ΓΛRelationͱఆ͍ٛͯ͠·͢ɻ https://github.com/opentracing/specification/blob/master/specification.md

  10. DEMO TIME

  11. SUMMARIZE RESULT Kubernetes্ͰେྔͷίϯςφΛ࿈ܞͤ͞ΔγεςϜΛߏஙͯ͠΋ɺ ෼ࢄτϨʔγϯάͰσόοά΍ύϑΥʔϚϯεվળָ͕ʹͳΔ OpenTracingΛ࢖͑͹ॾࣄ৘ͰτϨʔα ͷมߋ͕ඞཁʹͳͬͯ΋O(1)ͷमਖ਼ͰOK! ϩά௥͏ΑΓ޾ͤʂ KubernetesຊମʹOpenTracingΛಋೖ͢Δ͔ͱ͍͏ ࿩͸issueͷ#26507Ͱ࿩͠߹ΘΕ͍ͯΔ్த ͪͳΈʹOpenStackʹ΋scalpelsͱ͍͏τϨʔγϯ

    άεεςϜ͕ଘࡏ͍ͯ͠Δ͕ɺ·ͩఏҊϨϕϧ
  12. Thanks for watching! See You Next Time