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

Prepare replicaCount for HPA #124

Merged
merged 11 commits into from
Jan 30, 2025

Conversation

katlim-br
Copy link
Contributor

According to the Kubernetes docs, when using HPA, the replicaCount in the statefulset must not be assigned.

Docs

This PR is to convert the replicaCount as optional for the searcher and the indexer.

And then we can create our own HPA by matching the spec labels.

@katlim-br katlim-br changed the title Prepare replicaCount for hpa Prepare replicaCount for HPA Jan 29, 2025
Copy link
Collaborator

@rdettai rdettai left a comment

Choose a reason for hiding this comment

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

Haven´t tested it but LGTM

@katlim-br
Copy link
Contributor Author

katlim-br commented Jan 30, 2025

Haven´t tested it but LGTM

# Source: quickwit/templates/searcher-statefulset.yaml
apiVersion: apps/v1
kind: StatefulSet
spec:
  # "replicas" would be here
  template:

@guilload guilload merged commit 965cce7 into quickwit-oss:main Jan 30, 2025
1 check passed
@katlim-br katlim-br deleted the prepare_replicaCount_hpa branch January 30, 2025 17:53
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