1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 01:06:27 +00:00
Commit graph

3784 commits

Author SHA1 Message Date
Sergiusz Urbaniak
08a964702c
Merge pull request #3423 from simonpasquier/cleanup-alertmanager-controller
pkg/alertmanager: cleanup resources via OwnerReferences
2020-08-21 10:15:11 +02:00
Sergiusz Urbaniak
322c57b3ed
Merge pull request #3424 from simonpasquier/fix-link
RELEASE.md: add myself (Simon Pasquier) for v0.43
2020-08-21 06:40:58 +02:00
Simon Pasquier
cee42abe59 RELEASE.md: add myself (Simon Pasquier) for v0.43
And fix link to Prometheus documentation

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-08-20 16:25:33 +02:00
Simon Pasquier
0811e8f65c pkg/alertmanager: cleanup resources via OwnerReferences
The Alertmanager controller deleted dependent resources manually while
prometheus and thanos rely on Kubernetes to do the work using
OwnerReferences.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-08-20 16:21:07 +02:00
Simon Pasquier
d5d357fac7
test/e2e: remove duplicated subtests (#3417)
After #3413, it appears that some of the sub-tests in
`testPromArbitraryFSAcc` aren't useful because the outcome doesn't
depend on the value of ArbitraryFSAccessThroughSMsConfig.Deny. In all
cases, the test should succeed.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2020-08-19 17:56:47 +02:00
Simon Pasquier
e64718cb6b
pkg: add prometheus_operator_reconcile_operations_total metric (#3415)
* pkg: add prometheus_operator_reconcile_operations_total metric

We already have the `prometheus_operator_reconcile_errors_total` metric
to track the number of reconciliation attempts that failed but we miss
the number of attempts which makes it harder to alert on it. With this
change, we can compute the ratio of reconciliations that failed.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Update alert definition with new metric
2020-08-19 16:41:02 +02:00
Sergiusz Urbaniak
c75a7e27c8
Merge pull request #3418 from wbh1/patch-1
Update getting-started.md
2020-08-18 18:53:56 +02:00
Will Hegedus
521d6411de
Update getting-started.md
Super small typo fix I came across.
2020-08-18 11:39:19 -04:00
Paweł Krupa
0b2321d2bd
Merge pull request #3333 from paulfantom/mixin 2020-08-18 15:33:25 +02:00
Sergiusz Urbaniak
156a5ec29c
Merge pull request #3413 from matthiasr/mr/fix-validate-secret-or-config-map
Fix validation logic for SecretOrConfigMap
2020-08-17 19:16:05 +02:00
Matthias Rampke
ad2cd116e0
Fix expectation for TLS configs without local filesystem access
When local filesystem access is denied, values from secrets and config
maps can still be used. This is the desired behavior, as this is the way
to get secrets into Prometheus without access to its filesystem.

The tests gave the wrong result because validation of the TLS
configuration would always fail, not because it actually attempted to
access local files.

Signed-off-by: Matthias Rampke <matthias@rampke.de>
2020-08-17 15:25:32 +00:00
Matthias Rampke
5c1f668c97
Fix validation logic for SecretOrConfigMap
This was flagged by
[golangci-lint](https://staticcheck.io/docs/checks#SA4022). The check
was for the address of the pointer, not the value. Add a test (failing
on master) to verify this, and fix the validation logic.

Follow-up to #2716.

Signed-off-by: Matthias Rampke <matthias@rampke.de>
2020-08-17 11:50:59 +00:00
paulfantom
74077bdd72
example: regenerate 2020-08-15 14:50:59 +02:00
paulfantom
83ce23e547
*: generate alerts from mixin in 'make generate' 2020-08-15 14:50:44 +02:00
paulfantom
37af7ac2d5
jsonnet/mixin: change directory structure to align with other mixins 2020-08-15 14:49:07 +02:00
paulfantom
891ca1c993
jsonnet: create a monitoring mixin for prometheus-operator
Convert
https://github.com/coreos/kube-prometheus/blob/master/jsonnet/kube-prometheus/alerts/prometheus-operator.libsonnet
into a prometheus-operator monitoring mixin
2020-08-15 14:37:05 +02:00
Paweł Krupa
5c3520960e
Merge pull request #3407 from paulfantom/codeowners
.github: add codeowners file
2020-08-12 15:42:21 +02:00
paulfantom
ce3202fde4
.github: add codeowners file 2020-08-12 14:25:59 +02:00
Paweł Krupa
4e9883f754
Merge pull request #3406 from paulfantom/port 2020-08-12 14:22:14 +02:00
Sergiusz Urbaniak
69fffe12bd
Merge pull request #3398 from lilic/add-gov
MAINTAINERS.md: Introduce initial governance
2020-08-12 14:11:42 +02:00
paulfantom
25a70e00e2
.travis: remove failing job as pushing to quay.io/coreos is done manually now 2020-08-12 13:17:33 +02:00
paulfantom
247100597d
regenerate 2020-08-12 13:14:53 +02:00
paulfantom
b9f88b30b3
release v0.41.1 2020-08-12 13:13:41 +02:00
Lili Cosic
663da411c2 README.md: Add acknowledgements section 2020-08-12 10:58:42 +02:00
Lili Cosic
df42e236c2 code-of-conduct.md: Adapt code of conduct now that is outside of coreos 2020-08-12 10:49:02 +02:00
Lili Cosic
df46cdfa1a OWNERS: Delete as it is replaced by the MAINTAINERS file 2020-08-12 10:49:02 +02:00
Lili Cosic
028be880ec MAINTAINERS.md: Introduce initial governance 2020-08-12 10:49:02 +02:00
Lili Cosic
f84d58e457
Merge pull request #3404 from bia/new-logo
Add new logos
2020-08-12 08:48:02 +02:00
bia
4fe210a9fe add new logos 2020-08-11 21:18:36 +02:00
Sergiusz Urbaniak
54704fac8f
Merge pull request #3392 from lilic/fix-image-tag-version
pkg/operator/image.go: Adjust image path building
2020-08-11 10:43:24 +02:00
Lili Cosic
7b4a9d740d pkg/prometheus/statefulset_test.go: Adjust tests 2020-08-10 14:49:55 +02:00
Lili Cosic
83e6da95f8 go.mod,sum: Add new deps 2020-08-10 14:49:55 +02:00
Lili Cosic
49e2842c49 pkg/alertmanager,thanos,prometheus: Adjust usage 2020-08-10 14:49:55 +02:00
Lili Cosic
caed11f835 pkg/operator/image.go: Adjust image path building
Image can contain tag already, this checks if it does it just returns
the image. Otherwise sha/digest takes priority over tag and lastly
version is taken due to historic reasons.
2020-08-10 14:49:55 +02:00
Frederic Branczyk
e7d55e3fea
Merge pull request #3385 from zjj2wry/specipy_post_alert_timeout
feat: support specify post alerts timeout
2020-08-06 15:34:37 +02:00
郑佳金
d90df0a0e7 make generate 2020-08-06 16:59:29 +08:00
郑佳金
9c066705a4 feat: support special post alerts timeout 2020-08-06 16:59:15 +08:00
Paweł Krupa
a2a4704456
Merge pull request #3390 from paulfantom/images
secondary stage to push images to quay.io/coreos
2020-08-06 10:24:43 +02:00
paulfantom
14bee2c9e9
secondary stage to push images to quay.io/coreos 2020-08-05 18:29:52 +02:00
Paweł Krupa
f4e3a89208
Merge pull request #3387 from paulfantom/no-vendor
remove vendor directory
2020-08-05 16:48:31 +02:00
paulfantom
7e974d728a
remove vendor directory 2020-08-05 15:53:57 +02:00
Paweł Krupa
a48986aa54
Merge pull request #3384 from paulfantom/migration 2020-08-05 15:43:41 +02:00
paulfantom
ce0f2cb240
fix docs references 2020-08-05 14:16:13 +02:00
paulfantom
4cd53126fd
*:regenerate 2020-08-05 13:36:39 +02:00
paulfantom
e0c43b74c3
jsonnet: update image references to new organization 2020-08-05 13:35:30 +02:00
paulfantom
9380261937
add next release shepherd 2020-08-05 13:14:08 +02:00
paulfantom
67780ccc45
repository migration to prometheus-operator organization 2020-08-05 13:13:46 +02:00
Frederic Branczyk
a9657237c4
Merge pull request #3382 from sjentzsch/master
Allow for enabling Alertmanager HA cluster mode even when running with single replica
2020-08-04 10:27:59 +02:00
Sören Jentzsch
ab8b19b69e
Allow for enabling Alertmanager HA cluster mode even when running with single replica, via newly introduced forceEnableClusterMode flag.
With #3196 we lost the possibility to setup Alertmanager clusters with a single replica across multiple Kubernetes clusters.

Fixes #3337
2020-08-04 01:49:48 +02:00
Sören Jentzsch
7778fe0239
Allow for enabling Alertmanager HA cluster mode even when running with single replica, via newly introduced forceEnableClusterMode flag.
With #3196 we lost the possibility to setup Alertmanager clusters with a single replica across multiple Kubernetes clusters.

Fixes #3337
2020-08-04 01:36:10 +02:00