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

mixin : fix autoscaling panels #10473

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

KyriosGN0
Copy link
Contributor

What this PR does

fix the autoscaling panels in the mixin dash to work with out of the box config

Which issue(s) this PR fixes or relates to

Fixes #9431

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.

@KyriosGN0 KyriosGN0 requested a review from a team as a code owner January 17, 2025 16:36
Signed-off-by: AvivGuiser <[email protected]>
Signed-off-by: AvivGuiser <[email protected]>
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Unfortunately this may work with Helm installation, but not Mimir installed via jsonnet, because the latter doesn't have the mimir- part in the HPA resource names (e.g. it's keda-hpa-distributor and not keda-hpa-mimir-distributor). What we can do is to make the mimir- part optional in the regex, e.g. keda-hpa-(mimir-)?(.*).

@KyriosGN0
Copy link
Contributor Author

@pracucci i modified the PR according to what you said, is it ok ?

Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

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

SGTM, thank you :)

Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

I think the regexp is still broken. See my comment.

operations/mimir-mixin/config.libsonnet Outdated Show resolved Hide resolved
@KyriosGN0
Copy link
Contributor Author

@pracucci commited your suggestion, thx!

Signed-off-by: AvivGuiser <[email protected]>
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.

Autoscaling panels from mixin dashboards not working with helm chart deployment
3 participants