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.1k
Prometheus Operator
Gavin Zhou
July 27, 2018
Tweet
Share
More Decks by Gavin Zhou
See All by Gavin Zhou
Other ingress voyager
gavinzhou
0
160
Multiple Ingress on GKE
gavinzhou
0
1.7k
kubernetes chatops
gavinzhou
0
490
Building Minimal Docker Containers
gavinzhou
0
1k
Other Decks in Technology
See All in Technology
LangSmith入門―トレース/評価/プロンプト管理などを担うLLMアプリ開発プラットフォーム
os1ma
3
140
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
200
データベース02: データベースの概念
trycycle
0
160
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
520
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
140
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
0
140
ChatGPT for IT Service Management (IT Pro)
dahatake
7
1.6k
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
190
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
350
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
170
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
2
470
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
The Invisible Side of Design
smashingmag
294
49k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
Facilitating Awesome Meetings
lara
42
5.6k
Fireside Chat
paigeccino
21
2.6k
Raft: Consensus for Rubyists
vanstee
132
6.3k
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