-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added optional thanos sidecar in Prometheus to ease integration of external Thanos in the stack #12425
Added optional thanos sidecar in Prometheus to ease integration of external Thanos in the stack #12425
Conversation
…teranl Thanos in the stack.
Sorry for not responding earlier, but I'm wondering if explicitly adding Thanos sidecar is the best approach here - wouldn't it be better to provide documentation to enable Thanos integration using the mechanisms already in the chart? e.g. show how to add correct labels, use correct config instead of the |
May be I could not see it how. The issue that I see is.. we need to start prometheus differently passing additional parameters etc when we start with Thanos sidecar. Can we discuss and then do the PR correctly? |
This PR is now ready for re-review. Have added And removed thanos scraping and alert rules. Which I add myself in my own installation via |
This looks much cleaner to me, thank you! /lgtm |
LGTM label has been added. Git tree hash: 3daa8871d6b84bd4def29a9788f23762c8f3bd32
|
/cherrypick release/v2.22 |
@dharapvj: once the present PR merges, I will cherry-pick it on top of release/v2.22 in a new PR and assign it to you. In response to this:
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. |
@wurbanski - somehow LGTM did not work.. you will need to re-approve it. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dharapvj, wurbanski 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 |
@dharapvj: new pull request created: #12468 In response to this:
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. |
@dharapvj: new pull request created: #12469 In response to this:
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. |
@dharapvj Can you please update the release note to match the latest changes made to the PR? Please do the same for cherry-pick PRs. |
@xmudrii - so do I edit the release note directly? or in the description of this issue? Since I have not done direct editing of release-notes before.. I thought I would check with you. I have edited the note above.. please check if that is sufficient. I will fix similarly for cherry-picked PRs as well |
I do not have access on cherry picked PRs to edit description :( Maybe @wurbanski you can? Also can you approve those PRs please? |
You did it correctly -- the release note is in the PR description in a code block marked with
I went ahead and copied the release note from this PR. For the future reference, you can easily change release notes using the For example:
|
What's up with the release note on this PR? @dharapvj
|
The docs comment is wrong as well. It should have just been
This gets wrongly labeled with |
Ha ha... marco was showing me how to edit release notes.. in the process here edited existing releases with sample values 🤣 I have re-fixed the notes now.
I have also updated the docs link with docs PR now. |
What this PR does / why we need it:
With #11424, we removed Thanos support from our Seed monitoring. Some of the arguments for removal are important and valid. But currently, the Cortex based monitoring stack is not available for seed. So, as of now, anyone who has KKP 2.22+ installation does not have seed level metrics beyond 5 days. This makes support really difficult.
We tried to add back the Thanos helm chart by ourselves but it still needs Prometheus sidecar to push metrics to Thanos. Alternative way of using Thanos receiver is overly complicated and resource hungry.
In this PR - we propose to bring back ONLY the Thanos sidecar in prometheus and corresponding alerts so that external Thanos helm chart can get the data fed in. By default the sidecar will be kept disabled.
Which issue(s) this PR fixes:
None
What type of PR is this?
/kind feature
/kind regression
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: