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
20260313 - Grafana & Friends Taipei #1 - Kubern...
Search
ChengHao Yang
March 13, 2026
Programming
260
0
Share
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
ChengHao Yang
March 13, 2026
More Decks by ChengHao Yang
See All by ChengHao Yang
20260410 - CNTUG meetup #72 - DiskImage Builder 介紹:以 Kubespray CI 打造 RockyLinux 10 Cloud Image 為例
tico88612
0
140
20260113 - NKP Tour Taipei 2026 - 雲端原⽣標準的商業價值:從開源中立到企業 AI 轉型之路
tico88612
0
35
20251023 - KubeSummit 2025 - Kubespray and IaC Practice Automating On-Premise Kubernetes Deployment
tico88612
0
210
20251020 - Cathay Open Source Meetup #2 - Cloud Native Ecosystem in Taiwan
tico88612
0
40
20250810 - CNTUG Meetup #69 / COSCUP 2025 - Non-Code Contributions for Beginners: Introduction to the Kubernetes Release Team
tico88612
0
120
20250429 - CNTUG Meetup #67 / DevOps Taiwan Meetup #69 - Deep Dive into Tetragon: Building Runtime Security and Observability with eBPF
tico88612
0
330
20241128 - CNTUG Meetup - Recap: KubeCon + CloudNativeCon North America 2024
tico88612
0
80
20241024 - CNTUG meetup - Kubernetes v1.31 簡單雜談
tico88612
0
140
20220904 - SITCON 2022 - 從 0 到 GitHub Actions,以 Hexo Blog 為例設計專屬的 CI/CD Pipeline
tico88612
0
78
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
250
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.3k
CursorとClaudeCodeとCodexとOpenCodeを実際に比較してみた
terisuke
1
500
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
520
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
250
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
410
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
150
Kingdom of the Machine
yui_knk
2
1.2k
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
180
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
830
PHPer、Cloudflare に引っ越す
suguruooki
1
120
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
Featured
See All Featured
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
The browser strikes back
jonoalderson
0
1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
First, design no harm
axbom
PRO
2
1.2k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
380
The Cult of Friendly URLs
andyhume
79
6.9k
BBQ
matthewcrist
89
10k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
200
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
430
It's Worth the Effort
3n
188
29k
Transcript
ChengHao Yang @ Grafana & Friends Taipei #1 Kubernetes v1.36
的開發雜記 那些困在 Alpha 加護病房太久的 Metrics 1
為何會有這主題? 2
3
原來 Kubernetes 有很多 metric 都卡在 alpha 階段?所以…… 4
5 • CNCF Ambassador • Co-organizer @ CNTUG • Lead
organizer @ KCD Taipei 2025 • Maintainer @ Kubespray • Release Team @ Kubernetes v1.32~v1.36 • Contributor @ Kubernetes • Contributor @ Container $ whoami ChengHao Yang (tico88612)
I. Kubernetes 的 metric 怎麼來? 6
7 kubelet kube-controller-manager kube-apiserver kube-scheduler You Grafana Dashboard Prometheus etcd
kube-state-metric
SIG Instrumentation 定義 Kubernetes 的「可觀測性」標準 • 管理所有 Kubernetes 元件的 Metric、Log、Trace。
• 相關元件(例如 klog 和 kube-state-metrics)的開發。 • 協調各 SIG 的 metrics 需求,透過共同 API(resource/core、custom、 external metrics API)統 一 interface。 8
II. 當開始推 行 Beta…? 9
10
11
12
命名問題 (Linting Error) • Prometheus Naming: https://prometheus.io/docs/practices/naming/ • Counter 應該
(SHOULD) 以 _total 結尾。 • process_cpu_total_seconds ❌ • process_cpu_seconds_total ✅ • Counter 單位以複數形式。 • http_request_total ❌ • http_requests_total ✅ 13
14
15 按我 揭曉 答案
16
17
18 按我 揭曉 答案
19
III. 貢獻 心 得體驗 20
IV. 結論 21
歡迎各位貢獻 Kubernetes! 22
每 月 聚會 + Call for Speaker • 官 方
網站:https://cloudnative.tw • Cloud Native Taiwan User Group 是 CNCF 認可的在地社群。 • 活動皆免費*限額報名參與。 • 投稿後並完成演講,我們將會贈 送 CNCF Store 一 件禮物! CNTUG meetup 23 徵稿連結 Telegram 群組 Facebook 社團 * 僅收場地費
24 • Website: https://tico.tw • Facebook: @tico88612 • Instagram: @__tico88612__
• GitHub: @tico88612 • LinkedIn: in/tico88612 • Telegram: @tico88612 Thank You! Please feel free to contact me!