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

Scale Hashring with reference resource #10

Merged
merged 8 commits into from
Jan 18, 2025
Merged

Conversation

yuchen-db
Copy link

@yuchen-db yuchen-db commented Jan 14, 2025

This PR adds an option to scale hashring to mirror the reference resource. If the option is enabled, instead of getting the number of replicas from sts.Spec, it looks for the CRD as annotated in the sts.
Tests are here: https://github.com/databricks-eng/universe/pull/873228

@yuchen-db yuchen-db changed the title scale with crd Scale Hashring with reference resource Jan 18, 2025
@yuchen-db yuchen-db requested review from jnyi and hczhu-db January 18, 2025 00:37
Copy link

@jnyi jnyi left a comment

Choose a reason for hiding this comment

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

awesome job, does this pr merge with golang version update? if so be careful to merge a pr from universe otherwise docker image update would fail

@yuchen-db yuchen-db merged commit b80893c into db_main Jan 18, 2025
3 of 4 checks passed
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