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
Gavin Zhou
July 27, 2018
Technology
3
1.2k
Prometheus Operator
Gavin Zhou
July 27, 2018
Tweet
Share
More Decks by Gavin Zhou
See All by Gavin Zhou
Other ingress voyager
gavinzhou
0
180
Multiple Ingress on GKE
gavinzhou
0
1.8k
kubernetes chatops
gavinzhou
0
590
Building Minimal Docker Containers
gavinzhou
0
1.3k
Other Decks in Technology
See All in Technology
新卒(ほぼ)専業Kagglerという選択肢
nocchi1
0
510
AIと描く、未来のBacklog 〜プロジェクト管理の次の10年を想像し、創造するセッション〜
hrm_o25
0
110
Oracle Base Database Service:サービス概要のご紹介
oracle4engineer
PRO
1
20k
データモデリング通り #2オンライン勉強会 ~方法論の話をしよう~
datayokocho
0
190
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
120
いま、あらためて考えてみるアカウント管理 with IaC / Account management with IaC
kohbis
2
430
Exadata Database Service on Dedicated Infrastructure セキュリティ、ネットワーク、および管理について
oracle4engineer
PRO
1
330
AI時代の大規模データ活用とセキュリティ戦略
ken5scal
1
260
AIは変更差分からユニットテスト_結合テスト_システムテストでテストすべきことが出せるのか?
mineo_matsuya
5
2.6k
ウォンテッドリーのアラート設計と Datadog 移行での知見
donkomura
0
160
Backboneとしてのtimm2025
yu4u
1
270
AWSの最新サービスでAIエージェント構築に楽しく入門しよう
minorun365
PRO
8
490
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Making Projects Easy
brettharned
117
6.3k
Docker and Python
trallard
45
3.5k
GraphQLとの向き合い方2022年版
quramy
49
14k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
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