-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/prometheus-operator] Re-sync prometheus rules and grafana dashboards #21248
Conversation
Signed-off-by: iuri aranda <[email protected]>
Hi @iuriaranda. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Yeah I still have to resolve that linting error somehow. The problem is that they've introduced a special notation in a prometheus rule upstream (here), and it's giving issues when translated to a Helm template. I'm still figuring out how to fix it, we either change that notation upstream in the |
I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]>
Signed-off-by: iuri aranda <[email protected]>
Signed-off-by: iuri aranda <[email protected]>
Signed-off-by: iuri aranda <[email protected]>
Signed-off-by: iuri aranda <[email protected]>
@vsliouniaev Can you review again please? I've fixed the linting error and merged from master. |
The sync scripts produce a different output than what is in your PR |
/hold |
Indeed, it's about the notation of the
Everything inside the outer I've seen that this has been manually fixed in previous syncs like this, so that's what I did this time:
I don't think this can easily be incorporated into the sync script so it automatically transforms such expressions. So IMO we either modify the expression upstream in the prometheus mixin or we accept a manual change. Any other ideas? |
@vsliouniaev Have you seen my previous comment? How do you propose to proceed? |
Sounds like the scripts need to be updated to take care of this |
@vsliouniaev that would be great. Do you have any ideas on how to do that? I can't think of any regex or method that can perform this kind of transformation. |
This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per #21248 (comment) Signed-off-by: iuri aranda <[email protected]>
/lgtm |
/retest |
Apparently tests are failing again, same problem as the other day. @unguiculus could you check the test cluster again please? |
There is a change in the current rules-1.14/k8s.rules.yaml from |
/retest |
1 similar comment
/retest |
Signed-off-by: iuri aranda <[email protected]>
Signed-off-by: iuri aranda <[email protected]>
/retest |
Signed-off-by: iuri aranda <[email protected]>
Signed-off-by: iuri aranda <[email protected]>
Finally all tests are green and PR is up to date with the latest changes from master 🎉 Now it only needs the @vsliouniaev can you review again please? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iuriaranda, vsliouniaev The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…hboards (helm#21248) * Re-sync prometheus rules Signed-off-by: iuri aranda <[email protected]> * Manually fix special notiation in prometheus rules I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]> * Bump chart version Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Fix Helm interpolation escaping in sync scripts This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per helm#21248 (comment) Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Remove unnecessary whitespace Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Bump prometheus-operator chart patch version Signed-off-by: iuri aranda <[email protected]> * Update prometheus rules gain Signed-off-by: iuri aranda <[email protected]> * Sync grafana dashboards as well Signed-off-by: iuri aranda <[email protected]> * Bump patch version for prometheus-operator chart Signed-off-by: iuri aranda <[email protected]>
…hboards (helm#21248) * Re-sync prometheus rules Signed-off-by: iuri aranda <[email protected]> * Manually fix special notiation in prometheus rules I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]> * Bump chart version Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Fix Helm interpolation escaping in sync scripts This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per helm#21248 (comment) Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Remove unnecessary whitespace Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Bump prometheus-operator chart patch version Signed-off-by: iuri aranda <[email protected]> * Update prometheus rules gain Signed-off-by: iuri aranda <[email protected]> * Sync grafana dashboards as well Signed-off-by: iuri aranda <[email protected]> * Bump patch version for prometheus-operator chart Signed-off-by: iuri aranda <[email protected]>
…hboards (helm#21248) * Re-sync prometheus rules Signed-off-by: iuri aranda <[email protected]> * Manually fix special notiation in prometheus rules I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]> * Bump chart version Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Fix Helm interpolation escaping in sync scripts This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per helm#21248 (comment) Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Remove unnecessary whitespace Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Bump prometheus-operator chart patch version Signed-off-by: iuri aranda <[email protected]> * Update prometheus rules gain Signed-off-by: iuri aranda <[email protected]> * Sync grafana dashboards as well Signed-off-by: iuri aranda <[email protected]> * Bump patch version for prometheus-operator chart Signed-off-by: iuri aranda <[email protected]> Signed-off-by: Adrien Loiseau <[email protected]>
…hboards (#21248) * Re-sync prometheus rules Signed-off-by: iuri aranda <[email protected]> * Manually fix special notiation in prometheus rules I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]> * Bump chart version Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Fix Helm interpolation escaping in sync scripts This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per helm/charts#21248 (comment) Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Remove unnecessary whitespace Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Bump prometheus-operator chart patch version Signed-off-by: iuri aranda <[email protected]> * Update prometheus rules gain Signed-off-by: iuri aranda <[email protected]> * Sync grafana dashboards as well Signed-off-by: iuri aranda <[email protected]> * Bump patch version for prometheus-operator chart Signed-off-by: iuri aranda <[email protected]>
…hboards (#21248) * Re-sync prometheus rules Signed-off-by: iuri aranda <[email protected]> * Manually fix special notiation in prometheus rules I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]> * Bump chart version Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Fix Helm interpolation escaping in sync scripts This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per helm/charts#21248 (comment) Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Remove unnecessary whitespace Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Bump prometheus-operator chart patch version Signed-off-by: iuri aranda <[email protected]> * Update prometheus rules gain Signed-off-by: iuri aranda <[email protected]> * Sync grafana dashboards as well Signed-off-by: iuri aranda <[email protected]> * Bump patch version for prometheus-operator chart Signed-off-by: iuri aranda <[email protected]>
…hboards (helm#21248) * Re-sync prometheus rules Signed-off-by: iuri aranda <[email protected]> * Manually fix special notiation in prometheus rules I see that this was previously manually fixed as well, so I kept it like before Signed-off-by: iuri aranda <[email protected]> * Bump chart version Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Fix Helm interpolation escaping in sync scripts This should fix the issue of having a backtick (`) inside a {{ ... }} command block in prometheus syntax. As per helm#21248 (comment) Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Remove unnecessary whitespace Signed-off-by: iuri aranda <[email protected]> * Bump patch version Signed-off-by: iuri aranda <[email protected]> * Bump prometheus-operator chart patch version Signed-off-by: iuri aranda <[email protected]> * Update prometheus rules gain Signed-off-by: iuri aranda <[email protected]> * Sync grafana dashboards as well Signed-off-by: iuri aranda <[email protected]> * Bump patch version for prometheus-operator chart Signed-off-by: iuri aranda <[email protected]> Signed-off-by: Miguel Mingorance <[email protected]>
What this PR does / why we need it
Re-sync the prometheus rules and grafana dashboards.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/mychartname]
)