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

Actual running pod counts are different from the HPA-allocated #688

Closed
sabaribose opened this issue Feb 28, 2024 · 1 comment · Fixed by #689
Closed

Actual running pod counts are different from the HPA-allocated #688

sabaribose opened this issue Feb 28, 2024 · 1 comment · Fixed by #689
Labels
autoscaling Autoscaling of Solr Nodes using the HPA and Solr APIs bug Something isn't working
Milestone

Comments

@sabaribose
Copy link

sabaribose commented Feb 28, 2024

I have configured HPA for the Solrcloud pods when I see the HPA status from the Kubernetes cluster - it returns 10 pods are allocated, but from the nodes page in the Solrcloud admin UI - it shows more than the HPA allocated - (58) pods are running.

Versions:
SolrCloud 9.3
solr-operator 0.8.0

here are some logs from the cluster

solrcloud_annotations.txt
solrcloud_operator_logs.txt
solrcloud_output.txt

@sabaribose sabaribose changed the title Actual running pod counts are different from the HPA-allocated status Actual running pod counts are different from the HPA-allocated Feb 28, 2024
@HoustonPutman
Copy link
Contributor

I think there are two issues here: The Solr Operator is deleting PVCs of pods before the pods are being deleted. That is obviously a problem, and likely causing the BalanceReplicas command to fail.

There is also a bug that results in the BalanceReplicas command continuously going even though it should be paused to start scaling down. The PVC issue mentioned above causes the BalanceReplicas command to fail, and thus this bug is seen.

@HoustonPutman HoustonPutman added bug Something isn't working autoscaling Autoscaling of Solr Nodes using the HPA and Solr APIs labels Feb 28, 2024
@HoustonPutman HoustonPutman added this to the v0.8.1 milestone Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoscaling Autoscaling of Solr Nodes using the HPA and Solr APIs bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants