Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Migrate prometheus operator from coreos (#6765)
Browse files Browse the repository at this point in the history
* Create promethues-operator chart

Signed-off-by: Giancarlo Rubio <gianrubio@gmail.com>

* Fixes for stable/prometheus-operator

Changed:
- Update Prometheus to 2.4.3, alertmanager to 0.15.2
- Change some job labels - should refer to a label appearing on the service. Tried to keep this consistent with what was used in the coreos version
- Add confguration for using CoreDNS
- Add insecureSkipVerify to kubeApiServer
- Add `prometheus.additionalScrapeConfigs`, `prometheus.additionalAlertManagerConfigs`

- Add ability to deploy an operated prometheus without installing anything else
  - Switch `prometheus.serviceAccountName` to be based on `prometheus.fullname` to prevent clashes
- Fix `serviceMonitorSelector` typo
- Add `serviceMonitorNamespaceSelector` to values.yaml
- Fix grafana typo (#6765 (comment))

Add CoreDNS dashboard

- Fixed dashboard use of updated name metric

Signed-off-by: Giancarlo Rubio <gianrubio@gmail.com>
Signed-off-by: Vasily Sliouniaev <vsliouniaev@users.noreply.github.com>

Vas prometheus operator (#5)

* Fix lint

* Fix missing selector on kubelet

#6765 (comment)

* Fix braces in files

* Fix naming

* Move non-exporters out of exporters folder

* Use common value names, add to readme

* Change value names deploy -> enabled

#6765 (comment)
#6765 (comment)

* Update etcd rules

https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/etcd3_alert.rules.yml

* Fix etcd rules to match job name

* Review readme

* Change initial version to 0.1.0

Additional Fixes While Github is down (#6)

* Fix additional service monitor template

* Fix label indentation

#6765 (comment)

Fix cleanup, requirements.lock file (#7)
  • Loading branch information
gianrubio authored and k8s-ci-robot committed Oct 23, 2018
1 parent 365ce7c commit 7d04502
Show file tree
Hide file tree
Showing 79 changed files with 21,107 additions and 0 deletions.
21 changes: 21 additions & 0 deletions stable/prometheus-operator/.helmignore
@@ -0,0 +1,21 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
17 changes: 17 additions & 0 deletions stable/prometheus-operator/Chart.yaml
@@ -0,0 +1,17 @@
apiVersion: v1
description: Provides easy monitoring definitions for Kubernetes services, and deployment and management of Prometheus instances.
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
engine: gotpl
maintainers:
- name: gianrubio
email: gianrubio@gmail.com
name: prometheus-operator
sources:
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 0.1.0
appVersion: "0.22.2"
home: https://github.com/coreos/prometheus-operator
keywords:
- operator
- prometheus
4 changes: 4 additions & 0 deletions stable/prometheus-operator/OWNERS
@@ -0,0 +1,4 @@
approvers:
- gianrubio
reviewers:
- gianrubio
253 changes: 253 additions & 0 deletions stable/prometheus-operator/README.md

Large diffs are not rendered by default.

0 comments on commit 7d04502

Please sign in to comment.