Skip to content
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

Jsonnet: Improve distributor HPA #8251

Merged
merged 5 commits into from
Jun 3, 2024
Merged

Jsonnet: Improve distributor HPA #8251

merged 5 commits into from
Jun 3, 2024

Conversation

pracucci
Copy link
Collaborator

@pracucci pracucci commented Jun 3, 2024

What this PR does

In this PR I'm upstreaming a change we did long time ago in Grafana Labs to improve distributor HPA to only take in account ready pods when computing the actual CPU and memory utilization.

Which issue(s) this PR fixes or relates to

N/A

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci marked this pull request as ready for review June 3, 2024 08:37
@pracucci pracucci requested a review from a team as a code owner June 3, 2024 08:37
Copy link
Contributor

@jhesketh jhesketh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for upstreaming this :-).

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci merged commit 00b5688 into main Jun 3, 2024
29 checks passed
@pracucci pracucci deleted the improve-distributor-hpa branch June 3, 2024 10:15
narqo pushed a commit to narqo/grafana-mimir that referenced this pull request Jun 6, 2024
* Jsonnet: improve distributor HPA taking in account only ready pods

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Upstream more changes

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Update doc

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Add CHANGELOG entry

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Updated CHANGELOG

Signed-off-by: Marco Pracucci <marco@pracucci.com>

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
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.

2 participants