Commit Graph

536 Commits

Author SHA1 Message Date
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
Joshua Olson
6b3dc1d41c Add some commands to ensure kube-prometheus is fully successfully deployed. 2018-10-12 12:02:50 -05:00
Matthias Loibl
1655e572a6 contrib/kube-prometheus: Generate AlertmanagerConfigInconsistent 2018-10-12 14:44:40 +02:00
Matthias Loibl
e1ed50158b contrib/kube-prometheus: Fix AlertmanagerConfigInconsistent alert expression 2018-10-12 14:43:20 +02:00
Matthias Loibl
e2476ce2ef contrib/kube-prometheus: Generate new manifests and docs with prom operator v0.24 2018-10-12 14:01:54 +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
f3125f2f65 contrib/kube-prometheus: jb update after squashing 2018-10-10 18:11:39 +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
Matthias Loibl
f855d9cac9 Merge pull request #1983 from mrueg/prom-2.4.3
*: Update to Prometheus v2.4.3
2018-10-10 13:16:56 +02:00
Matthias Loibl
5cb0e51cbf contrib/kube-prometheus: Fix version for kube-prometheus 2018-10-10 11:33:36 +02:00
Manuel Rüger
be55290b3f *: Update to Prometheus v2.4.3 2018-10-09 18:35:29 +02:00
Max Leonard Inden
5c393ba3ee kube-prometheus/README.md: Add jb update to contrib guide
With pinning the kube-prometheus dependency for the generated
`/manifest` folder, one needs to update the `jsonnetfile.lock.json` on
`*.jsonnet` file changes.
2018-10-09 16:09:55 +02:00
Robert Nemeti
bb6b5099dc allow backward compatibility with the textblock 2018-10-02 15:14:21 +02:00
Matthias Loibl
32a24f07cb contrib/kube-prometheus: Generate new manifests after dropping etcd labels 2018-10-01 14:51:10 +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
Max Leonard Inden
263b2f2bc0 kube-prometheus: Update jsonnet dependencies 2018-09-28 15:22:55 +02:00
Matthias Loibl
0f0c168b44 *: Update to Prometheus v2.4.0 2018-09-28 15:16:26 +02:00
Lucas Serven
7d97b71a62 contrib: regenerate 2018-09-28 11:47:39 +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
David Lefever
57a0e161ff contrib/kube-prometheus: Run jb update and generate all manifests. 2018-09-26 22:57:11 +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
David Tesar
71a5226962 address feedback 2018-09-24 13:16:39 -07:00
David Tesar
bdeea07556 Add link to ingress instructions 2018-09-23 17:37:40 -07:00
David Tesar
391158cfd0 Add rest of dashboards 2018-09-21 15:07:48 -07:00
David Tesar
be14369fad Add Prometheus dashboard instructions 2018-09-21 14:22:46 -07:00
David Tesar
2c0f18ae09 Update to grafana 5.2.4 2018-09-21 14:14:41 -07:00
Damien Lespiau
345f045739 contrib/kube-prometheus: Update README with up-to-date default versions
With those changes, diff does show any differences between generated manifests
with and without the version override in a top level jsonnet file.
2018-09-19 11:58:06 +01: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
Matthias Loibl
df65f57fb4 contrib/kube-prometheus: Generate new manifests after fixing tyops in rules 2018-09-14 13:46:18 +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
b308b25acc contrib/kube-prometheus: Generate new rules based on latest jsonnet changes 2018-09-14 11:29:45 +02:00
Matthias Loibl
407aaa5e2f contrib/kube-prometheus: Alert in 10% erros when reconciling Prom & Alertmanager 2018-09-14 11:08:15 +02:00
Matthias Loibl
8965c3e7b6 *: Add missing newline at the end of jsonnetfile.json 2018-09-14 11:05:32 +02:00
Matthias Loibl
5a935379d6 contrib/kube-prometheus: Run jb update and generate all manifests 2018-09-14 11:05:32 +02:00
Matthias Loibl
8d38e81521 contrib/kube-prometheus: Create missing Prometheus operator alerts 2018-09-14 11:05:28 +02:00
Matthias Loibl
483a1c115f contrib/kube-prometheus: Fix outdated alerts to use message annotation 2018-09-13 14:59:50 +02:00
Frederic Branczyk
abc899135e Merge pull request #1870 from squat/alert_readability
contrib/.../alerts: improve alert messages
2018-09-07 16:43:22 +02:00
Lucas Serven
34dd0a798a contrib/.../alerts: improve alert messages 2018-09-07 15:23:51 +02:00
Matthias Loibl
a9527247f6 contrib/kube-prometheus: Use default timezone in dashboards 2018-09-06 19:02:46 +02:00
Frederic Branczyk
2c288a7983 kube-prometheus: Re-generate 2018-09-05 23:05:56 +02:00
Frederic Branczyk
6536496716 kube-prometheus: Improve disk alert
Only trigger disk running full alerts when the disk capacity is over 85%
and use recording rule of the kubernetes-mixin to only consider real
physical filesystems.
2018-09-05 23:00:57 +02:00
Sergiusz Urbaniak
b338940208 kube-prometheus: bump kubernetes-mixins
This bumps the kubernetes-mixin dependency to add
https://github.com/kubernetes-monitoring/kubernetes-mixin/pull/76.
2018-09-05 12:10:20 +02:00
Joshua Olson
35c90355ba kube-prometheus: add link to grafana config 2018-08-30 11:43:17 -05:00
Joshua Olson
ae61963157 kube-prometheus: add e.g. of using persistent storage for the prom tsdb 2018-08-30 11:39:30 -05:00