-
Notifications
You must be signed in to change notification settings - Fork 432
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
[Feature] Make Replicas optional #1120
Comments
We use Flux CD and have got the same issue. The solution to this problem seems rather simple, This way Flux CD will not be reverting changes made by the autoscaler on every reconciliation. There is a similar issue with Flux CD and HPA. |
I can make a PR if the change is OK. This change will require to set the default value of |
for ArgoCD in app config it is required to set up ignore differences (https://argo-cd.readthedocs.io/en/stable/user-guide/diffing/) such as: apiVersion: argoproj.io/v1alpha
kind: Application
spec:
...
ignoreDifferences:
- kind: RayCluster
group: ray.io
jqPathExpressions:
- .spec.workerGroupSpecs[].replicas
- .spec.workerGroupSpecs[].scaleStrategy |
Hi @manifest, would you be willing to file a pull request? If you don't have the bandwidth, I can take it. We have already added this item to our internal roadmap. Thanks! |
I've made a PR. I'm not sure how it should be tested, since tests are failing on the |
Search before asking
Description
When you use gitops (ArgoCD /Flux) deployments for raycluster with autoscaler enabled, then there is an option to have constant fight of the ArgoCD and autoscaler on managing custom resource replicas, resulting in pods created/terminated.
Use case
Example scenario to reproduce the issue:
Solving this can be done in two ways:
Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: