64 Commits
Author SHA1 Message Date
alexanderccc ce2c5be29e [stable/prometheus-operator] Version bump, deprecation of additionalScrapeConfigsExternal (#23147)
* Version bump, deprecation of additionalScrapeConfigsExternal

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Removed prometheus.prometheusSpec.additionalScrapeConfigsExternal from README

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Modified values for naming convention

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Added newline for test to pass

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>

* Correct node exporter for tests to pass

Signed-off-by: Alexander Cristian <alexander.cristian@live.com>
2020-07-15 06:44:37 -07:00
Vasily Sliouniaev 6d22112751 Fix several chart problems (#18430)
Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-11-02 12:27:39 -07:00
Vasily Sliouniaev edecc9842d [stable/prometheus-operator] Up versions of operator, prometheus (#18528)
* Update core components

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Remove unsupported crdApiGroup param

This parameter already does not work and has not for many versions of
the operator, thus removing it is not a breaking change

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Fix {{ .Release to {{ $.Release

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-11-02 10:43:39 -07:00
Vasily Sliouniaev fbe9c7e097 [stable/prometheus-operator] Remove CRD hooks from CI entirely (#18271)
* Remove CRD hooks from CI entirely

Installing the operator by itself will create CRDs in the cluster
idempotently. We can then run the rest of the tests safely

Signed-off-by: vas <vasily.sliouniaev@jet.com>

* Remove irrelevant value

This cannot be relied upon because "CRD deletion is slow". Despite this
being a closed bug it's still an issue https://github.com/helm/helm/issues/4489

Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-10-28 05:31:26 -07:00
Vasily Sliouniaev 8112497500 Change node-exporter port to 9101 for tests (#18066)
Signed-off-by: vas <vasily.sliouniaev@jet.com>
2019-10-17 03:08:39 -07:00
Qingkun Li 0c3934e7f6 [stable/prometheus-operator] add 'scrapeTimeout' to node-exporter servicemonitor (#17804)
* add 'scrapeTimeout' to node-exporter servicemonitor

Signed-off-by: Qingkun Li <qingkun.li@bytedance.com>

* run hack/update-ci.sh to update ci/test-values.yaml

Signed-off-by: Qingkun Li <qingkun.li@bytedance.com>

* Bump stable/prometheus-operator chart version to 6.16.0

Signed-off-by: Qingkun Li <qingkun.li@bytedance.com>
2019-10-09 10:39:50 -07:00
Shaun Mansell a7abb2139f [stable/prometheus-operator] Add support for creating a Service and Ingress for each Prometheus replica (#17382)
* Add support for creating a Service and Ingress for each Prometheus replica

Adding support for creating separate Service and Ingress resources that will map
to the standard web port of each Prometheus server replica.

We're using the `prometheus.prometheusSpec.replicas` value to determine how many
of each resource type to be created, and to vary resource names and values.

Because we're using a single set of values to control certain properties, we have to
drop support for setting parameters that need to be unique within a each resource.
Primarily this means no IP configuration options for the Service resource.

The ingress resources are created with a single host entry that is compiled by taking
two values (`hostPrefix` and `hostDomain`). The final hostname format is
`hostPrefix`-`replicaIndex`.`hostDomain`, where `replicaIndex` will be 0, 1, 2 etc.

Signed-off-by: Shaun Mansell <shaun.s.mansell@gmail.com>

* Fix trailing spaces in values and test-values files

Signed-off-by: Shaun Mansell <shaun.s.mansell@gmail.com>

* Bump prometheus-operator chart version

Signed-off-by: Shaun Mansell <shaun.s.mansell@gmail.com>

* Convert service and ingress per-replica resources to be managed as a list

Updating both the service and ingress per-replica resources from a templated list to
list api-resource kinds.

Signed-off-by: Shaun Mansell <shaun.s.mansell@gmail.com>
2019-10-08 01:43:11 -07:00
Iain Bowman e31fa8672b [stable/prometheus-operator] Add annotate AlertManager Secret (#17610)
Signed-off-by: IainBowman <iain.bowman@gmail.com>
2019-10-07 10:01:15 -07:00
Elliot Fehr 906174a5b2 [stable/prometheus-operator] PodEndpoint support (#15928)
* PodEndpoint support

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* address feedback

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* address feedback

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* reset test-values.yaml

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* update ci values

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* link to spec

Signed-off-by: Elliot Fehr <elliot@squareup.com>
2019-10-06 04:27:09 -07:00
Carlos Alexandro Becker 0459eb2bda [stable/prometheus-operator]: upgrade alertmanager (#17084)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-11 13:38:33 -07:00
Elliot Fehr 21991ac972 [stable/prometheus-operator] Allow WAL compression + upgrade prometheus (#16635)
* upgrade default prometheus version to 2.12.0 + expose walCompression option

Signed-off-by: Elliot Fehr <elliot@squareup.com>

* upgrade prometheus operator to 0.32.0

Signed-off-by: Elliot Fehr <elliot@squareup.com>
2019-08-31 02:51:47 -07:00
Vasily Sliouniaev eeee789c00 [stable/prometheus-operator] Fix several issues (#16264)
* Fix some bugs

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Resync rules for GKE kube version

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Add docs for GKE private clusters

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-08-13 03:57:41 -07:00
Carlos Alexandro Becker 779f3eba68 [stable/prometheus-operator]: allow to disable time and network rules (#16037)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 01:21:51 -07:00
Vasily Sliouniaev b469d491e2 [stable/prometheus-operator] PrometheusRule Admission Webhooks (#14543)
* Admission hoooks POC

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Update test values

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Enable admission hooks by default

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Update values to use enabled in favor of create

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Fix secret creation to be pre-

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Update values, readme

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Fix tls port on service

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Add readme section about using prometheus.io/scrape

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>

* Fix typos

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-07-30 06:48:53 -07:00
John Naulty Jr 0f032a47f4 [stable/prometheus-operator] fix #15572 alertmanager (#15582)
* [stable/prometheus-operator] fix #15572 alertmanager

- fixes issue with alertmanager not coming up due to <nil> logFormat
value

Signed-off-by: John Naulty <johnnaulty@bitgo.com>

* bump version up after rebase

Signed-off-by: John Naulty <johnnaulty@bitgo.com>
2019-07-24 15:31:53 -07:00
moskitone 55fe0b38c1 [stable/prometheus-operator] Kube-dns dnsmasq relabelings. (#15150)
Added metrics relabeling config to kube-dns dnsmasq service monitor.

Signed-off-by: Volodymyr Moseichuk <moskitone@gmail.com>
2019-07-23 04:06:54 -07:00
Haoyu Wang 1c0d7ce99d Add kube-proxy exporter to prometheus-operator charts. (#15664)
Signed-off-by: whypro <whypro@live.com>
2019-07-18 23:49:10 -07:00
clsau 3c7f982b4f Adding TLS params to kube controller manager and kube scheduler (#15277)
Signed-off-by: Clarisse Sauvage <clarisse.sauvage@jet.com>
2019-07-05 09:02:36 -07:00
Shini31 138b61febb [stable/prometheus-operator] Fix #14874 (#14877)
* [stable/prometheus-operator] Fix #14874

Signed-off-by: Mathieu Cinquin <github@capitoul.net>

* Bump version

Signed-off-by: Mathieu Cinquin <github@capitoul.net>
2019-06-28 03:57:38 -07:00
Carlos Alexandro Becker d58247103f [stable/prometheus-operator] updated to 0.31.1 (#14943)
* feat: update prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: remove thanos-cluster port from examples

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: manual del/install crd

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: cleanup crds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: update test-values

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: clusterrole

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* bump: prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: crds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* bump: prometheus-operator

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: undo rules upgrade

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* docs: fix readme

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* ci: cleanup crd before install

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* Clean up CRDs before install for CI

Signed-off-by: Vasily Sliouniaev <vasily.sliouniaev@jet.com>
2019-06-27 23:57:38 -07:00
Chris 213b37bf47 [stable/prometheus-operator] replaced kubernetes api-conventions link (#14956)
* [stable/prometheus-operator] replaced kubernetes api-conventions link

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] run hack/update-ci.sh

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] bumbed chart version

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] added #metadata to link

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>

* [stable/prometheus-operator] run hack/update-ci.sh again

Signed-off-by: Christian Niehoff <christian.niehoff@dwpbank.de>
2019-06-21 04:20:36 -07:00
Bismarck Paliz 350abaff4d Adding support for replicaExternalLabelName and prometheusExternalLabelName. (#14572)
Signed-off-by: Bismarck Paliz <bismarck.paliz@jet.com>
2019-06-06 13:34:02 -07:00
moskitone 7f5a7783ce [stable/prometheus-operator] Kubelet relabelings. (#14551)
* [stable/prometheus-operator] Kubelet relabelings.

Added metrics relabeling config to kubelet service monitor.

Signed-off-by: Volodymyr Moseichuk <moskitone@gmail.com>

* [stable/prometheus-operator] Kubelet relabelings.

Added metrics relabeling config to kubelet service monitor.

Signed-off-by: Volodymyr Moseichuk <moskitone@gmail.com>
2019-06-06 07:36:15 -07:00
Vasily Sliouniaev af2af1af66 [stable/prometheus-operator] Update components,cleanup (#14387)
* [stable/prometheus-operator] Bump app to 0.30.1

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Update kube-state-metrics, node-exporter

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Bump chart minor version

Signed-off-by: vas <v.sliouniaev@gmail.com>

* Remove no-op roles and rolebindings

The clusterrole used by Prometheus already incorporates permissions
that are granted by these. Removing to help with possible confusion.

Signed-off-by: vas <v.sliouniaev@gmail.com>
2019-06-03 01:32:27 -07:00
Stanislav Petrashov 56890097c1 [stable/prometheus-operator] Update prometheus-operator image to v0.30.0 (#14178)
- Updated README
- Updated chart version
- Updated values.yaml
- Updated test-values.yaml

Signed-off-by: Stanislav Petrashov <sp@hellofresh.com>
2019-05-28 15:47:50 -07:00
mmiller1 164ee72d34 allow adding targetLabels to servicemonitors (#14072)
Signed-off-by: Matt Miller <mamiller@rosettastone.com>

update-ci
2019-05-22 09:34:09 -07:00
lostick 6a52d19861 [stable/prometheus-operator] Bump alertmanager to 0.17.0 (#14035)
Signed-off-by: Laurent Godet <mevoyasf@gmail.com>
2019-05-21 10:02:15 -07:00
Amine Benseddik 9fa4db5f3f [stable/prometheus-operator]: add EnableAdminAPI option (#14030)
Signed-off-by: Amine Benseddik <amine@qonto.eu>
2019-05-21 08:04:49 -07:00
Lukas Grossar 0269736bfd [stable/prometheus-operator] allow definition of affinity for alertmanagerSpec/prometheusSpec (#12936)
* [stable/prometheus-operator] add affinity configuration

Extends the prometheus-operator to allow the definition of additional
affinity rules for alertmanager and prometheus without breaking the
existing podAntiAffinity functionality.

Signed-off-by: Lukas Grossar <lukas.grossar@adfinis-sygroup.ch>

* [stable/prometheus-operator] update ci/test-values.yaml

Got forgotten in some other PRs.

Signed-off-by: Lukas Grossar <lukas.grossar@adfinis-sygroup.ch>
2019-05-21 03:00:45 -07:00
Liviu Costea ede60d8bf0 [stable/prometheus-operator] Secure the alertmanager integrations by using an existing secret (#12433)
* Secure the alertmanager integrations by using an existing secret

Alertmanager is a sensible app because all the integrations are defined there
(like PagerDuty, OpsGenie etc). So its configuration can contain many secrets
This will allow to skip the configuration passed from values.yaml and use
an existing secret, which can be created with sealed secrets, aws-ssm etc

Signed-off-by: Liviu Costea <email.lcostea@gmail.com>

* Add existing secret configuration to the ci values

Signed-off-by: Liviu Costea <email.lcostea@gmail.com>

* Bump chart version

Signed-off-by: Liviu Costea <email.lcostea@gmail.com>
2019-04-30 02:27:38 -07:00
Christopher Randles 8bb861bb36 add relabelings/metricRelabelings to all exporter serviceMonitors (#13143)
Signed-off-by: Chris Randles <randles.chris@gmail.com>
2019-04-18 09:00:16 -07:00
Marcos Estévez Martínez 9c12247662 [stable/prometheus-operator] Allow metricRelabelings in default kube-state-metrics exporter (#12960)
* [stable/prometheus-operator] metricRelabelings in kube-state exporter

Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>

* Adding kubeStateMetrics.serviceMonitor.metricRelabelings to ci

Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>
2019-04-11 05:22:11 -07:00
Rafael Jesus eb7c2d5cef Make grafana default datasource optional (#12895)
* make default ds optional

Signed-off-by: Rafael Jesus <rafaelljesus86@gmail.com>

* add example on ci folder

Signed-off-by: Rafael Jesus <rafaelljesus86@gmail.com>
2019-04-08 02:40:29 -07:00
Ben Pehling fac7381293 [stable/prometheus-operator] add support for pod annotations (#12800)
* [stable/prometheus-operator] add support for pod annotations

Signed-off-by: Ben Pehling <shinjipehling@gmail.com>

* [stable/prometheus-operator] add support for pod annotations

bump versions and ran hack/update-ci.sh

Signed-off-by: Ben Pehling <shinjipehling@gmail.com>

* [stable/prometheus-operator] add support for pod annotations

undo appVersion bump

Signed-off-by: Ben Pehling <shinjipehling@gmail.com>

* [stable/prometheus-operator] add support for pod annotations

updated README.md

Signed-off-by: Ben Pehling <shinjipehling@gmail.com>

* [stable/prometheus-operator] add support for pod annotations

bump Chart version again

Signed-off-by: Ben Pehling <shinjipehling@gmail.com>
2019-04-04 14:45:18 -07:00
arthurvanduynhoven eb4ba54569 [stable/prometheus-operator] Updated to allow Ingress Capture Groups (#12813)
Signed-off-by: Arthur Van Duynhoven <arthur.vanduynhoven@irdeto.com>
2019-04-04 06:00:50 -07:00
Vasily Sliouniaev 894bbe0ebf [stable/prometheus-operator] Update defaults for scraping cluster components (#12292)
* Update defaults for scraping cluster components

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Remove custom scrape intervals

These were not consistent in some cases (kubelet http vs https
configuration). The best-practice for this is to allow the config
to come from prometheus's default.

Added configuration options to specify custom durations if overrides
are desired

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix kubelet secure configuration relabellings

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Add hack/minikube

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Update README.md with changes to defaults

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* chmod

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix up minikube

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix monitors when using defaults

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Update contributing.md

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
2019-03-19 07:22:26 -07:00
Ondrej Kuchar 852b3aa032 [stable/prometheus-operator] Possibility to add grafana datasources (#12296)
* [stable/prometheus-operator] Possibility to add grafana datasources

Signed-off-by: Ondrej Kuchar <ondrej.kuchar@pan-net.eu>

* [stable/prometheus-operator] add additionalDataSources to ci dir

Signed-off-by: Ondrej Kuchar <ondrej.kuchar@pan-net.eu>
2019-03-18 03:13:15 -07:00
Vasily Sliouniaev 90e50f1e08 [stable/prometheus-operator] Add configuration options (#11811)
* Add configuration options for reloader limits

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Add documentation to work around crd-install hook issue

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Add query params to prometheus

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Bump version

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix indent

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
2019-03-07 11:46:08 -08:00
Wei Kin Huang efbcad4e5c [stable/prometheus-operator] Add metricRelabelings to node exporter servicemonitor (#11937)
Signed-off-by: Wei Kin Huang <weikin.huang04@gmail.com>
2019-03-05 12:36:00 -08:00
Nicholas Gibson 40aee78f3f added additional ports option for prometheus-operator prometheus service (#11506)
* added additional ports option for prometheus-operator prometheus service

Signed-off-by: GIBSON, NICHOLAS R <ng560p@us.att.com>

* updated version, readme, fixed data type, added ci values

Signed-off-by: GIBSON, NICHOLAS R <ng560p@us.att.com>

* trailing spaces

Signed-off-by: GIBSON, NICHOLAS R <ng560p@us.att.com>

* bumped version to 2.2.7

Signed-off-by: GIBSON, NICHOLAS R <ng560p@us.att.com>

* bumped version to 3.0.1

Signed-off-by: GIBSON, NICHOLAS R <ng560p@us.att.com>

* fixed merge conflict with appVersion

Signed-off-by: GIBSON, NICHOLAS R <ng560p@us.att.com>
2019-02-28 14:14:40 -08:00
Maha Gamal 6d79ab03f2 [stable/prometheus-operator] Added target port (#11675)
- Updated README
    - Updated chart version
    - Updated values.yaml
    - Added tagetport in prometheus service component templates

Signed-off-by: Maha <you@example.com>
2019-02-25 10:48:09 -08:00
Dmitry Verkhoturov 28250ead20 [stable/prometheus-operator] Improve rules sync rules and description (#11617)
* [stable/prometheus-operator] bump kube-state-metrics

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] sync rules and dashboards

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] move rules to prometheus folder

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] clarify instructions for prometheus rules and grafana dashboards changes

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] add prometheus rules namespace replacement

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] add alertmanager-$1 replacement rule

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] major version bump, rename DeadMansSwitch alert to Watchdog

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>
2019-02-22 10:27:28 -08:00
Vasily Sliouniaev 205644e0c7 [stable/prometheus-operator] Multiple features / fixes (#11501)
* Bump component versions

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Fix readme docs for namespaceSelector

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Expand on components that come with the chart

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Upgrade grafana to fix side-car race condition

This is a major version bump due to the requirement of the grafana
chart to run a newer version of the dashboard/datasource sidecars

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Add migration info for coreos chart to readme

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Move additionalPrometheusrules to prometheus

- Fix broken indentation
- This component is not alertmanager specific
- Since this PR has a major version change, so it is appropriate to
  make this configuration change also

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
2019-02-20 07:58:50 -08:00
Goutham Veeramachaneni 8e8282d049 Add ability to drop metrics from cAdvisor (#11173)
* Add ability to drop metrics from cAdvisor

Tons and tons of them are useless.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Add values to files

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
2019-02-19 22:29:12 -08:00
Viktor Radnai e5c66bb3cc Prometheus operator grafana servicemonitor (#11545)
* [stable/prometheus-operator] Add ServiceMonitor for bundled Grafana

Signed-off-by: Viktor Radnai <viktor.radnai@ticketmaster.co.uk>

* Update documentation (also for alertmanager monitoring)

Signed-off-by: Viktor Radnai <viktor.radnai@ticketmaster.co.uk>

* Bump chart version

Signed-off-by: Viktor Radnai <viktor.radnai@ticketmaster.co.uk>

* Add grafana selfMonitor setting to ci/test-values.yaml

Signed-off-by: Viktor Radnai <viktor.radnai@ticketmaster.co.uk>
2019-02-19 14:43:27 -08:00
Ash Caire 7de3fa9300 [stable/prometheus-operator] Add custom PrometheusRules (#11266)
This commit allows the specification of custom PrometheusRule
resources via alertmanager.additionalPrometheusRules.

To assist the implementation, the ServiceMonitor manifest has also been
updated to remove the v1 List type, which was subsequently clobbered.

Signed-off-by: Ash Caire <ash.caire@gmail.com>
2019-02-18 05:00:51 -08:00
Mathieu Herbert e0c72d4805 [stable/prometheus-operator]: Add specific condition for each alerts (#10890)
* condition each alerts

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* add documentation

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* remove double space

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* add kubernetesAbsent

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* fix condition on sync prometheus rules

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* run sync scripts to get new rules

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* update grafana dashboard

Signed-off-by: Mathieu Herbert <mherbert@talend.com>

* add rules configuration in test-values

Signed-off-by: Mathieu Herbert <mherbert@talend.com>
2019-01-29 08:57:00 -08:00
Vasily Sliouniaev 3bcc64f351 [stable/prometheus-operator] Upgrade prometheus and prometheus-operator (#10931)
* Fix typo

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Use prometheus 2.6.1 and prometheus-operator 2.7

Bumping version of chart to 2.0.0 to indicate a change in
the way the operator stateful sets behave as described here
https://github.com/coreos/prometheus-operator/issues/2339

Prometheus 2.6.x has some very positive changes to startup
time that are particularly advantageous when using PVs and
running large instances

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
2019-01-28 01:35:46 -08:00
Dmitry Verkhoturov 0d8aa34edd [stable/prometheus-operator] adjust dashboards and rules sync (#10794)
* [stable/prometheus-operator] Enable etcd rules import

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] Disable coredns dashboard sync

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] Fix typos

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>

* [stable/prometheus-operator] Bump version

Signed-off-by: Dmitry Verkhoturov <paskal.07@gmail.com>
2019-01-24 07:05:59 -08:00
Vasily Sliouniaev 41b9b3d0be [stable/prometheus-operator] Custom topologyKey for antiaffinity (#10674)
* Custom topologyKey for antiaffinity

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>

* Remove trailing spaces

Signed-off-by: Vasily <vasily.sliouniaev@jet.com>
2019-01-24 07:05:45 -08:00