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
950
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
780
Other Decks in Technology
See All in Technology
AIチャットボット開発への生成AI活用
ryomrt
0
170
複雑なState管理からの脱却
sansantech
PRO
1
140
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
170
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
550
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
380
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
990
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
170
BLADE: An Attempt to Automate Penetration Testing Using Autonomous AI Agents
bbrbbq
0
300
Taming you application's environments
salaboy
0
190
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.6k
Featured
See All Featured
Bash Introduction
62gerente
608
210k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Fireside Chat
paigeccino
34
3k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Documentation Writing (for coders)
carmenintech
65
4.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
What's new in Ruby 2.0
geeforr
343
31k
The Language of Interfaces
destraynor
154
24k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
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