Skip to content

Alertmanager crd rebased - #2

Closed
grdryn wants to merge 80 commits into
brancz:alertmanager-crdfrom
grdryn:alertmanager-crd-rebased
Closed

grdryn wants to merge 80 commits into
brancz:alertmanager-crdfrom
grdryn:alertmanager-crd-rebased

Conversation

@grdryn

@grdryn grdryn commented Aug 19, 2020

Copy link
Copy Markdown

I know rarangan was looking into this recently & was engaging in slack about it. I'm taking over from him now & will hopefully start to progress this.

Let me know if you'd like me to continue to PR to your fork like this, so that prometheus-operator#3265 gets updated, or if you'd like me to go with new pull requests to the main prometheus-operator repo. 🙂

Sayrus and others added 30 commits July 22, 2020 17:13
add SecretListWatchSelector to reduce memory and CPU footprint
This change adds a new `prometheus_operator_resources` metric that keeps
track of the number of resources currently managed by the operator. The
metric is broken down by controller and type of resource.

Signed-off-by: Simon Pasquier <[email protected]>
In order to check if prometheus is able to scrape a target, we are
querying the /api/v1/targets endpoint and checking if the number of
active targets is equal to the one we expect. However, active targets
displayed by the API can sometimes be unhealthy. For example, when the
scraped target responds 401 Unauthorized, the target is still considered
active but its health will be set to "down". Because of that,
unauthorized scrapes will be considered valid in the tests.

Thus, in order to verify that prometheus is allowed to scrape a target,
we also need to check if it is healthy.

Signed-off-by: Damien Grisonnet <[email protected]>
…ment-resources

pkg: instrument resources being tracked by the operator
…us_version_propagation

Propagate Prometheus image version to statefulset
…ormalize-default-durations

Revert "Normalize default durations"
…tch-1

Volunteer for prometheus-operator v0.41 release
…t-polling

test/framework: fix prometheus active targets polling
…rning

docs: update compatibility warning
listwatch: do not duplicate resource versions
lilic and others added 26 commits August 10, 2020 14:49
…version

pkg/operator/image.go: Adjust image path building
MAINTAINERS.md: Introduce initial governance
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 prometheus-operator#2716.

Signed-off-by: Matthias Rampke <[email protected]>
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 <[email protected]>
…idate-secret-or-config-map

Fix validation logic for SecretOrConfigMap
Super small typo fix I came across.
@grdryn
grdryn changed the base branch from master to alertmanager-crd August 19, 2020 17:00
@grdryn

grdryn commented Aug 24, 2020

Copy link
Copy Markdown
Author

I'll close this and open a new WIP PR shortly on the original repo, as this would start to get messy quickly I think!

@grdryn grdryn closed this Aug 24, 2020
@brancz

brancz commented Sep 2, 2020

Copy link
Copy Markdown
Owner

Let me know if I can be of any help! My PR was certainly heavily work-in-progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.