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

[loki-distributed] fix hpa selector #3052

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

Conversation

gritzkoo
Copy link
Contributor

Previous PR try: #3033

related issues:

Fix the helper to select the correct HPA on kubernetes >=v1.23.

This new select has tested in my local kubernetes development and the right version has selected!

image
image
image
grafana-6.57.0.tgz


I tested on version 6.57.0 in my local but the issue is the same on the latest version.

Signed-off-by: Gritzko Daniel Kleiner <[email protected]>
@zanhsieh zanhsieh changed the title fix hpa selector for loki-distributed [loki-distributed] fix hpa selector Mar 31, 2024
@gritzkoo
Copy link
Contributor Author

@zanhsieh this PR is already merged #3050. Is this one missing something?

gritzkoo and others added 5 commits May 13, 2024 17:44
@gritzkoo
Copy link
Contributor Author

gritzkoo commented Jun 3, 2024

@Whyeasy @unguiculu 👀 🙏🏻

@zanhsieh
Copy link
Collaborator

zanhsieh commented Jun 5, 2024

@zalegrala Please help.

{{- end -}}
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" }}
{{- print "autoscaling/v2" }}
{{- else }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we check for autoscaling/v2beta2 and autoscaling/v2beta1 and set those when supported also. I see autoscaling/v2beta1 is in 1.24, which doesn't seem that long ago, even if most of us are running newer versions.

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.

3 participants