Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
入門 KRR
Search
Kazuki Obata
October 01, 2024
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
入門 KRR
Kubernetes Novice Tokyo #34 LT
Kazuki Obata
October 01, 2024
More Decks by Kazuki Obata
See All by Kazuki Obata
ウォンテッドリーのアラート設計と Datadog 移行での知見
donkomura
0
790
KubeCon + CloudNativeCon Japan 2025 Recap
donkomura
0
970
計装を見直してアプリケーションパフォーマンスを改善させた話
donkomura
2
520
自分だけの仮想クラスタを高速かつ効率的に作る kubefork
donkomura
0
350
散らばったトレースを繋げる技術
donkomura
1
920
ウォンテッドリーのインフラチームに加わってみて
donkomura
0
310
AWS CLI で気軽にコスト改善やってみた
donkomura
1
330
Other Decks in Technology
See All in Technology
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
430
Essential architectural thinking (revised edition)
ufried
0
110
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
320
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
6
5.5k
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
120
並行性の問題を防げ!実践トランザクション入門
occhi
0
280
FOSS4Gを活用した自治体業務DXの試み
470715
0
140
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
250
FactoryBotアンチパターン / factory_bot anti-patterns
toshimaru
0
140
全PRの83%が AIレビューだけでマージできるようになった開発組織は その後どうなったか @2026/10
athug
0
130
Deep Data Security 機能解説
oracle4engineer
PRO
2
750
Featured
See All Featured
Between Models and Reality
mayunak
4
490
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
620
Building the Perfect Custom Keyboard
takai
2
900
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
The untapped power of vector embeddings
frankvandijk
2
1.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Marketing to machines
jonoalderson
1
5.9k
Making Projects Easy
brettharned
120
6.8k
Transcript
©2024 Wantedly, Inc. 入門 KRR Kubernetes Novice Tokyo #34 Oct.1
2024 - Kazuki Obata
©2024 Wantedly, Inc. 巨畠 和樹 (Obata Kazuki) @donkomura_ Wantedly, Inc.
(2024/09~) インフラエンジニア #k8s #分散システム #storage #ボルダリング🧗
© 2024 Wantedly, Inc. 今日話すこと・話さないこと • 話すこと ◦ KRRとは ◦
KRRの基本的な使い方と仕組み • 話さないこと ◦ Robusta ◦ Prometheus ◦ 類似するソフトウェアとの比較
©2024 Wantedly, Inc. Robusta KRR (Kubernetes Resource Recommendations)
©2024 Wantedly, Inc. KRR • Robusta という SaaS 機能の一部で OSS
• 機能 ◦ ✅リソースの推奨値を提案 (CPU/Memory) ← 本発表の内容 ◦ ✅毎週のレポートを Slack で通知 ◦ ✅Robusta の Web UI と連携 ◦ ✅推奨値を算出するアルゴリズムをカスタマイズ可能 ◦ 🛠CPU/Memory 以外のリソースへの対応 (e.g. GPU) Pod の CPU/Memory 等のリソースの推奨値を提案する CLI ツール
©2024 Wantedly, Inc. 使い方 インストール • brew install or python
script をダウンロード 基本的な使い方 • krr simple -p <prometheus url>
©2024 Wantedly, Inc. 使い方krr simple -p <prometheus url>
©2024 Wantedly, Inc. 推奨値の内容CPU(Memory も表示される内容は同様) 推奨値と現状の差分Requests (最低保証量) の推奨値 Limits (最大量)
の推奨値
©2024 Wantedly, Inc. 仕組みアーキテクチャとデフォルトの算出アルゴリズム 推奨値の算出方法 Simple の場合 • CPU ◦
Request: 過去1週間の95パー センタイルの値 ◦ Limit: 無し(残りはバースト利 用可能) • Memory ◦ 最大値に15%のバッファを追加 した値
©2024 Wantedly, Inc. まとめ • KRR は CPU/Memory の Request/Limit
の推奨値を 算出してくれる CLI ツール • 気軽に使える ◦ 😊 新たに k8s resource などをデプロイする必要無し! ◦ 😊 データ収集の時間を待たなくてよい ▪ 今ある Prometheus のメトリクスを活用できる ◦ 😞 推奨値が見れるだけで自動的に設定・スケールさせることはできない ◦ 😞 シンプルな方法なので複雑な推奨値の計算には向いていない ▪ e.g. 機械学習による推奨値の計算、ノードの種別 (RI等) の提案