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: pass downscale-http-port from config #10367

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

narqo
Copy link
Contributor

@narqo narqo commented Jan 7, 2025

What this PR does

The jsonnet bundle hardcodes the prepare-downscale-http-port: 80 in all components, that use autoscaling and downscaling via the rollout-operator. This doesn't match the default HTTP port the bundle sets for the *-http-metrics container port, which is :8080.

Note we haven't noticed this previously, because internally all mimir components are run with $._config.server_http_port=80.

Which issue(s) this PR fixes or relates to

Fixes 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.

narqo added 3 commits January 7, 2025 14:07
Signed-off-by: Vladimir Varankin <[email protected]>
Signed-off-by: Vladimir Varankin <[email protected]>
@narqo narqo marked this pull request as ready for review January 7, 2025 13:18
@narqo narqo requested a review from a team as a code owner January 7, 2025 13:18
@narqo narqo changed the title mimir: pass downscale endpoint port from config jsonnet: pass downscale-http-port from config Jan 7, 2025
Copy link
Contributor

@56quarters 56quarters left a comment

Choose a reason for hiding this comment

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

Nice find

@narqo narqo merged commit b26705d into main Jan 30, 2025
29 checks passed
@narqo narqo deleted the vldmr/jsonnet-mimir-downscale-http-port-config branch January 30, 2025 08:07
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