Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
kspan: Traces from Events
Search
mita
May 20, 2021
Technology
1
930
kspan: Traces from Events
kspan: Traces from Events
Kubernetes Meetup Tokyo #41 LT
mita
May 20, 2021
Tweet
Share
More Decks by mita
See All by mita
Higher level abstraction/orchestration with Crossplane and Open Application Model
mita
0
740
Other Decks in Technology
See All in Technology
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
9
41k
エンジニアリングマネージャーが紐解く、事業視点から組織文化まで、包括的アプローチの探求 / READYFOR
9ma3r
13
2.1k
エンジニア向け会社紹介資料
caddi_eng
15
250k
実践的なバグバウンティ入門
scgajge12
4
2k
プロデザ! BY リクルートvol.22_様々なプロダクト経験の中で活きたPdMのスキル
recruitengineers
PRO
3
160
標準最高!標準はださくないぞ! at fukuoka.ts #1
yoiwamoto
0
150
FastlyとfalcoでNode.jsレスな Webサーバー構築 : IPTV版 ABEMAアプリインフラ刷新 / Building web server using Fastly and falco without Node.js for IPTV ABEMA app
nodaguti
0
230
RAGHack: Kickoff and RAG 101
pamelafox
0
160
「名前解決」から振り返るAmazon VPC
yuki_ink
0
320
目標設定と習慣化で今よりも一歩生産性を上げる
sansantech
PRO
6
2.2k
[iOSDC 2024]クロスプラットフォーム普及増加。SwiftでiOS開発はもうやらないのか....?
teamlab
PRO
0
150
メール本文をどうやっつけるか
hanacchi
0
120
Featured
See All Featured
Practical Orchestrator
shlominoach
185
10k
A Tale of Four Properties
chriscoyier
155
22k
Six Lessons from altMBA
skipperchong
26
3.3k
Being A Developer After 40
akosma
82
580k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
109
6.8k
How to Ace a Technical Interview
jacobian
275
23k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Pencils Down: Stop Designing & Start Developing
hursman
118
11k
Designing with Data
zakiwarfel
98
5k
Git: the NoSQL Database
bkeepers
PRO
424
64k
Why Our Code Smells
bkeepers
PRO
333
56k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
Transcript
Recap kspan Traces from Events https://static.sched.com/hosted_ fi les/kccnceu2021/fd/Traces%20from%20Events%20%28Kspan%29.pdf https://sched.co/iE3j
Recap Name: mita Role: Infrastructure Engineer Interest: - Improving Operator
Experience - Cloud Native - KRM Ecosystems - Kubernetes Operators - Observability - Chaos Engineering - Infrastructure as Code
Recap Observabilityͷ̏ຊப • 2017ʹɺObservabilityͷ3ຊபͱͯ͠ Logging, Metrics, Tracing͕ఏএ͞Εͨ • New RelicͰM.E.L.T(Metrics,
Events, Logs, Traces)ͷ4ͭͱఆٛͯ͠Δ(https://newrelic.com/resources/ ebooks/what-is-observability) https://peter.bourgon.org/blog/2017/02/21/metrics-tracing-and-logging.html
Recap What is kspan? • KubeCon EUͰհ͞ΕͨWeaveworksͷπʔϧ(Experimental) • Kubernetes্Ͱੜ͞ΕΔEventΛTraceʹม͢Δ https://github.com/weaveworks-experiments/kspan
Recap Architecture https://static.sched.com/hosted_ fi les/kccnceu2021/fd/Traces%20from%20Events%20%28Kspan%29.pdf
Recap Demo Jaeger kspan Nginx Deployment Manifest api-server 4. Emit
spans as OTLP(OpenTelemetry Protocol) 2. watch events 3. convert events to spans 1. apply manifest
Recap ༨ஊ Kubernetes EventͷTimestamp • ԼهIssueʹ͋Δ௨ΓɺޙํޓੑΛอͬͨ··millisecond୯ҐͷϑΥʔ ϚοτΛ৽ͨʹ࠾༻͢Δͷݫ͍͠ • ͦͷͨΊɺඵ୯ҐͷEventͷॱং͕ٯస͢Δ •
https://github.com/kubernetes/kubernetes/issues/81026 • EventϦιʔεࣗମϚΠΫϩඵ୯ҐͷλΠϜελϯϓΛอ͍࣋ͯ͠Δ https://pkg.go.dev/k8s.io/api/core/v1#Event