Commit Graph

123 Commits

Author SHA1 Message Date
BennX
cb149a10bc Add SessionAffinity ClusterIP to prometheus service.
Adds SessionAffinity ClusterIP to the prometheus service to prevent grafana from querying different instances when loading/updating metrics.
2019-01-08 16:13:35 +01:00
Brian Christie
e6c43d286d contrib/kube-prometheus: Add jobLabel to ServiceMonitorCoreDNS 2018-12-18 12:26:03 +00:00
Lucas Serven
63c67f8750 contrib/kube-prometheus: bump k8s-adapter to fix bug 2018-12-14 12:03:12 +01:00
Max Leonard Inden
b27b69e162 kube-prometheus: Add poddisruptionbudgets to ksm cluster role
This patch  allows kube-state-metrics to list and watch instances of
poddisruptionbudgets from the policy API group.
2018-12-11 15:34:02 +01:00
Matthias Loibl
12eaf28866 contrib/kube-prometheus: Set Prometheus Adapter's maxSurge to 1 2018-12-10 18:24:52 +01:00
Matthias Loibl
dee254fa01 contrib/kube-prometheus: Set securityContext in the manifests 2018-12-07 17:32:34 +01:00
Sergiusz Urbaniak
64a5d10227 kube-prometheus: bump prometheus-operator 2018-11-30 14:14:16 +01:00
Matthias Loibl
989456cde9 *: Increase CPU limits for small containers to not being throttled as much 2018-11-28 14:15:52 +01:00
Fabian Stäber
b9a6730daf fix syntax error in prometheus.libsonnet 2018-11-28 10:20:23 +01:00
Maxim Ivanov
4a15683db4 Do not error if no $._config.prometheus.rules are set 2018-11-27 15:29:46 +00:00
Frederic Branczyk
7ca0a02372 Merge pull request #2143 from BcTpe4HbIu/master
Fix AlertmanagerMembersInconsistent rule
2018-11-23 09:44:04 +01:00
Golubkov Igor
48ab110e09 Update unit tests 2018-11-23 09:39:14 +03:00
Golubkov Igor
95bb49aa4e Fix AlertmanagerMembersInconsistent rule 2018-11-22 17:33:14 +03:00
Matthias Loibl
d823b7f74b contrib/kube-prometheus: Add prometheusURL to adapter's jsonnet config 2018-11-22 15:30:17 +01:00
Frederic Branczyk
d7fc1eb32b kube-prometheus: Adapt CoreDNS default configuration to default CoreDNS installs 2018-11-21 16:22:27 +01:00
Lucas Serven
43bb05692f contrib/kube-prometheus: ne rbacproxy listen podip
This commit adjusts the RBAC proxy for the node-exporter DaemonSet to
only listen on the Pod IP. It also adjusts the ports used by the
node-exporter Pod so that both containers are listening on 9100. The
actual node-exporter listens on 127.0.0.1:9100, while the RBAC proxy
listens on <PODIP>:9100. This ensures that port 9101 is not taken on
the host networking namespace.
2018-11-20 20:16:07 +01:00
Vincent Brouillet
283d34b882 add example for kube-aws 2018-11-20 13:38:00 +01:00
Matthias Loibl
b0c35b5447 contrib/kube-prometheus: Remove superseded compatibility node exporter rules 2018-11-15 09:38:38 +01:00
Max Leonard Inden
1b8684083c *: Update to Alertmanager v0.15.3 2018-11-13 16:15:05 +01:00
Matthias Loibl
b7273bf567 contrib/kube-prometheues: Mount emptyDir as tmpfs to /tmp in adapter 2018-11-12 11:28:37 +01:00
Matthias Loibl
601fea2e9a contrib/kube-prometheus: Create prometheus-adapter component
contrib/kube-prometheus: Add section on Prometheus Adapter requirements to README.md
2018-11-09 15:05:45 +01:00
Matthias Loibl
174e84f3e5 *: Update to Proemtheus v2.5.0 as default 2018-11-07 16:23:50 +01:00
Alexandre Veyrenc
e42bff1ed3 Add support for Kubespray clusters 2018-11-05 14:10:18 +01:00
Matthias Loibl
49835437f7 Add AlertmanagerMembersInconsistent alerting rule 2018-10-26 17:30:14 +02:00
Frederic Branczyk
362e824936 kube-prometheus: Update kube-rbac-proxy and kube-state-metrics 2018-10-25 17:03:25 +02:00
Frederic Branczyk
f63ebc87e0 kube-prometheus: Bump prometheus-operator to v0.25.0 2018-10-25 10:06:07 +02:00
Frederic Branczyk
a5bc4995c1 Merge pull request #1973 from kkc/fix-typos-prometheus-rules
contrib: fix typo in contrib prometheus rules
2018-10-25 09:09:52 +02:00
Matthias Loibl
8094f67a40 contrib/kube-prometheus: thanos-peers service misses namespace 2018-10-22 18:38:44 +02:00
kkc
012a60163e contrib: fix typo in contrib prometheus rules
Change `Promehteus` to `Prometheus`
2018-10-20 00:15:02 +08:00
Frederic Branczyk
0eabd2e536 kube-prometheus: Fix Alertmanager secret namespace. 2018-10-16 14:33:14 +02:00
Damien Lespiau
253abe0f96 contrib/kube-prometheus: Introduce a withImageRepository mixin
This mixin replaces all images prefixes by $repository to generate manifests
that will point to an internal registry.
2018-10-16 11:59:31 +01:00
Damien Lespiau
466cbe50b0 contrib/kube-prometheus: Add a script to sync images to an internal registry
Crazy at it sounds, some Kubernetes installations don't have access to Internet
and source all their images from an internal registry.

sync-to-internal-registry.jsonnet is a jsonnet snippet that helps with the task
of pushing upstream images used by the prometheus operator to an internal
registry by printing the right docker pull/tag/push commands.

$ jsonnet -J vendor -S --tla-str repository=internal-registry.com/organization sync-to-internal-registry.jsonnet
docker pull quay.io/coreos/addon-resizer:1.0
docker tag quay.io/coreos/addon-resizer:1.0 internal-registry.com/organization/addon-resizer:1.0
docker push internal-registry.com/organization/addon-resizer:1.0
docker pull quay.io/prometheus/alertmanager:v0.15.2
docker tag quay.io/prometheus/alertmanager:v0.15.2 internal-registry.com/organization/alertmanager:v0.15.2
docker push internal-registry.com/organization/alertmanager:v0.15.2
...
2018-10-16 11:59:31 +01:00
Lucas Servén Marín
8a4b01427f Merge pull request #1958 from nrobert13/objectify_alertmanager_config
objectify alertmanager config
2018-10-15 13:11:26 +02:00
Matthias Loibl
e1ed50158b contrib/kube-prometheus: Fix AlertmanagerConfigInconsistent alert expression 2018-10-12 14:43:20 +02:00
Matthias Loibl
36c9451752 Update kube-prometheus' dependency of prometheus-operator to v0,24 2018-10-12 13:46:56 +02:00
Matthias Loibl
acd8924d57 Add triggered_total metric to alertmanager controller
Update client_golang for wrappable registerer
2018-10-10 18:06:00 +02:00
Manuel Rüger
be55290b3f *: Update to Prometheus v2.4.3 2018-10-09 18:35:29 +02:00
Robert Nemeti
bb6b5099dc allow backward compatibility with the textblock 2018-10-02 15:14:21 +02:00
Matthias Loibl
eca6e62402 contrib/kube-prometheus: Drop etcd metrics by apiserver & kube controller 2018-10-01 14:11:04 +02:00
Robert Nemeti
6c7c756b26 objectify alertmanager config
this way it will be possible to merge configs
2018-10-01 10:28:23 +02:00
Frederic Branczyk
873ef744a5 Merge pull request #1929 from mxinden/prometheus-2.4.0
*: Update to Prometheus 2.4.0
2018-09-28 15:58:21 +02:00
Frederic Branczyk
d480b41d8f Merge pull request #1935 from metalmatze/antiaffinity
contrib/kube-prometheus: Set antiAffinity for Prometheus & Alertmanager
2018-09-28 15:51:30 +02:00
Matthias Loibl
0f0c168b44 *: Update to Prometheus v2.4.0 2018-09-28 15:16:26 +02:00
Lucas Serven
3ff5d01277 contrib: remove duplicate alertmanager alert 2018-09-28 11:40:12 +02:00
Matthias Loibl
916863e4d5 contrib/kube-prometheus: Set podAntiAffinity for Prometheus & Alertmanager
contrib/kube-prometheus: Generate new manifests with antiAffinity

contrib/kube-prometheus: jb update

Documentation: Generate after updating kube-prometheus manifests

contrib/kube-prometheus: Move antiaffinity into own jsonnet file

foobar
2018-09-28 10:15:22 +02:00
Elisiano Petrini
59fd4cd63e Add initial thanos support to kube-prometheus
This is distributed as a library that the user is meant to import.
example:

```
kp =  (import 'kube-prometheus/kube-prometheus.libsonnet') +
      (import 'kube-prometheus/kube-prometheus-thanos.libsonnet') +
      {
        _config+:: {...}
      };
```
2018-09-26 15:20:16 +02:00
Lucas Servén Marín
bb2a9e87bc Merge pull request #1891 from metalmatze/prometheus-operator-alerts
kube-prometheus: Add Prometheus Operator alerts
2018-09-14 14:22:10 +02:00
Lucas Serven
7e34199dd8 contrib: jsonnetfile newline 2018-09-14 13:36:43 +02:00
Matthias Loibl
24141c464f contrib/kube-prometheus: Improve consistency of Prometheus Operator alerts 2018-09-14 13:33:49 +02:00
Matthias Loibl
407aaa5e2f contrib/kube-prometheus: Alert in 10% erros when reconciling Prom & Alertmanager 2018-09-14 11:08:15 +02:00