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
1.3k
3
Share
Prometheus Operator
Gavin Zhou
July 27, 2018
More Decks by Gavin Zhou
See All by Gavin Zhou
Other ingress voyager
gavinzhou
0
190
Multiple Ingress on GKE
gavinzhou
0
1.9k
kubernetes chatops
gavinzhou
0
620
Building Minimal Docker Containers
gavinzhou
0
1.3k
Other Decks in Technology
See All in Technology
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
2.1k
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
700
Javaで学ぶSOLID原則
negima
1
270
React、まだ楽しくて草
uhyo
7
3.9k
Unlocking the Apps
pimterry
0
180
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
Diagnosing performance problems without the guesswork
elenatanasoiu
0
150
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
240
Java正規表現エンジン(NFA)の仕組みと パフォーマンスを維持するための最適化手法
takeuchi_132917
0
180
Claude code Orchestra
ozakiomumkj
3
920
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
150
個人の発見を、組織の知恵に 〜生成AI活用を"探索"から"組織の仕組み"へ〜
kintotechdev
2
770
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
4 Signs Your Business is Dying
shpigford
187
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
840
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Unsuck your backbone
ammeep
672
58k
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