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
Prometheus Operator
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Gavin Zhou
July 27, 2018
Technology
1.3k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Prometheus Operator
Gavin Zhou
July 27, 2018
More Decks by Gavin Zhou
See All by Gavin Zhou
Other ingress voyager
gavinzhou
0
200
Multiple Ingress on GKE
gavinzhou
0
1.9k
kubernetes chatops
gavinzhou
0
620
Building Minimal Docker Containers
gavinzhou
0
1.4k
Other Decks in Technology
See All in Technology
PLaMo 3.0 Primeの構造化出力サポート
pfn
PRO
0
140
書籍セキュアAPIについて
riiimparm
0
390
ソフトウェアアーキテクチャ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
2
1k
NetBoxを利用した作業効率化の試み_NetDevNight4
tnoha
0
410
新しい SLO が良い感じにハマっている話
z63d
1
1.3k
VPCセキュリティ対応の最新事情
nagisa53
2
350
信頼できるテスティングAIをどう育てるか?
odan611
0
170
AIがAPIを書く時代に、私たちは何を設計すべきか
nagix
0
170
数値で見る Microsoft MVP 〜Spec Kit と GitHub Copilot Agent で作るデータ可視化ダッシュボード〜
yutakaosada
0
180
「休む」重要さ
smt7174
7
1.8k
AI工学特論: MLOps・継続的評価
asei
11
3.1k
テックカンファレンス三大ステークホルダーの文化人類学 ─ 違いを認め合う関係性作り
bash0c7
5
1.4k
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
240
The World Runs on Bad Software
bkeepers
PRO
72
12k
Six Lessons from altMBA
skipperchong
29
4.4k
Chasing Engaging Ingredients in Design
codingconduct
0
250
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
650
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
260
Utilizing Notion as your number one productivity tool
mfonobong
4
490
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
200
The Cost Of JavaScript in 2023
addyosmani
55
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Transcript
Prometheus Operator Orangesys Inc.
$cat whoami.yaml --- Name: Tachibana Shuji Description: Orangesys Inc. Twitter:
@gavinzhm Medium: @gavin.zhou Dev: [go, rust] Other: [running, OSS]
Orangesys Inc. • SaaS監視システムサービス ◦ Grafana、Prometheus、InflxuDB • DevOpsツール開発 ◦ Kubernetes、Containerなど
Kubernetes監視標準装備
Kubernetes監視標準装備
Why K8s monitoring with Prometheus • Third Partyツールは積極的にPrometheus-metric-apiを対 応 ◦
istio、traefik、sysdig、cadvisor、fluntd等
Prometheus Ecosystem
Kubernetes Prometheus Ecosystem 1. exporter-kube-dns 2. exporter-kubelets 3. exporter-kube-etcd 4.
exporter-kubernetes 5. exporter-coredns 6. exporter-kube-scheduler 7. exporter-node 8. exporter-kube-controller-manager 9. Exporter-kube-state 10. ….
Running Prometheus on Kubernetes 1. kubectl apply -f kubernetes-prometheus 2.
https://github.com/coreos/prometheus-operator ※いずれに、そのまま構築できない
Prometheus Operators
Prometheus Operators Prometheus管理を簡単にする kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/bun dle.yaml kubectl get
po NAME READY STATUS RESTARTS AGE prometheus-operator-56665b5fd8-s58k2 1/1 Running 0 1m
Prometheus Operators
Prometheus Kubernetes Prometheus Components included in this package: • The
Prometheus Operator • Highly available Prometheus • Highly available Alertmanager • Prometheus node-exporter • kube-state-metrics • Grafana
Prometheus Ecosystem yaml List
Jsonnet Prometheus Kubernetes git clone https://github.com/gavinzhou/prometheus-kubernetes cd prometheus-kubernetes ./build.sh &&
kubectl apply -f manifest ※jb、jsonnet、gojsontoyamlが必要
Jsonnet Prometheus Kubernetes
Jsonnet Prometheus Kubernetes
Jsonnet Prometheus Kubernetes
Jsonnet Prometheus Kubernetes
まとめ • Prometheus OperatorはPrometheusの管理 • Helm Rbac問題があり(※Tiller-less)、kubectl apply -f <directory>
へ • Jsonnetはyamlファイルの作成が簡単 • Prometheus-OperatorのyamlファイルをCIでテスト ※https://github.c om/gavinzhou/prometheus-kubernetes