Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Prometheus Operator

Prometheus Operator

Gavin Zhou

July 27, 2018
Tweet

More Decks by Gavin Zhou

Other Decks in Technology

Transcript

  1. $cat whoami.yaml --- Name: Tachibana Shuji Description: Orangesys Inc. Twitter:

    @gavinzhm Medium: @gavin.zhou Dev: [go, rust] Other: [running, OSS]
  2. 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. ….
  3. Running Prometheus on Kubernetes 1. kubectl apply -f kubernetes-prometheus 2.

    https://github.com/coreos/prometheus-operator ※いずれに、そのまま構築できない
  4. Prometheus Kubernetes Prometheus Components included in this package: • The

    Prometheus Operator • Highly available Prometheus • Highly available Alertmanager • Prometheus node-exporter • kube-state-metrics • Grafana
  5. まとめ • Prometheus OperatorはPrometheusの管理 • Helm Rbac問題があり(※Tiller-less)、kubectl apply -f <directory>

    へ • Jsonnetはyamlファイルの作成が簡単 • Prometheus-OperatorのyamlファイルをCIでテスト ※https://github.c om/gavinzhou/prometheus-kubernetes