Repository navigation
Conversation
Signed-off-by: Mathis Raguin <[email protected]>
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
Signed-off-by: Damien Grisonnet <[email protected]>
Signed-off-by: Damien Grisonnet <[email protected]>
…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
Signed-off-by: Damien Grisonnet <[email protected]>
…t-polling test/framework: fix prometheus active targets polling
…rning docs: update compatibility warning
listwatch: do not duplicate resource versions
Cut release version 0.41.0
…version pkg/operator/image.go: Adjust image path building
Add new logos
MAINTAINERS.md: Introduce initial governance
.github: add codeowners file
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.
Update getting-started.md
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! |
Owner
|
Let me know if I can be of any help! My PR was certainly heavily work-in-progress. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. 🙂