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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
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
Snowflakeと仲良くなる第一歩
coco_se
4
470
Claude Code の Sandbox 機能を Anthropic Sandbox Runtime(srt) で試そう!/lets-play-anthropic-sandbox-runtime
tomoki10
1
590
AI駆動開発を通して感じた、 AI時代のデザイナーの役割変化
whisaiyo
3
2.1k
気づかぬうちにセキュリティ負債を生むAPIキー運用
sgwrmctk
0
120
Kubernetesにおける学習基盤とLLMOpsの概要
ry
1
300
SONiCで構築・運用する生成AI向けパブリッククラウドネットワーク ~実装編~
sonic
0
200
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
130
AIネイティブな開発のサプライチェーンリスク対策 〜激動の開発現場でリスクに立ち向かう〜【ZennFes】
cscengineer
PRO
2
120
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
370
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
2
310
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
エンジニアリング戦略の作り方 / Crafting Engineering Strategy
iwashi86
21
6.9k
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
200
30 Presentation Tips
portentint
PRO
1
320
Designing Powerful Visuals for Engaging Learning
tmiket
1
410
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Writing Fast Ruby
sferik
630
63k
Balancing Empowerment & Direction
lara
6
1.2k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
540
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