-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Bug] HeadGroupSpec.Replicas is unused #612
Comments
Thank you for tracking this! I think we should remove the field in the next RayCluster API version. |
So the solution is bullet (2) in your proposal. |
Oh, actually I think I left it in the examples for compatibility with KubeRay 0.2.0. |
Thank @DmitriGekhtman for the reply! Why do not we remove # Step 1: Remove `HeadGroupSpec.Replicas` from `raycluster_types.go`
# Step 2: Update CRD / generated API
make sync
# Step 3: zz_generated_deepcopy.go
make generate
# Step4: Build docker image
make docker-image
# Step 5: Install new KubeRay operator (controller:latest) and new CRD
# Step 6: Install RayCluster with `HeadGroupSpec.Replicas`
# Work well. |
We have an issue to track it and we need to do some clean up on the api. |
Related issue: #368 |
This field has been deprecated since 0.3.0. [Related comment](ray-project#612 (comment))
in example YAMLs This field has been deprecated since 0.3.0. [Related comment](ray-project#612 (comment))
It has been deprecated since 0.3.0. Changes to generated files made by running `cd ray-operator && make sync generate manifests`. closes ray-project#612
It has been deprecated since 0.3.0. Changes to generated files made by running `cd ray-operator && make sync generate manifests`. closes ray-project#612
It has been deprecated since 0.3.0. Changes to generated files made by running `cd ray-operator && make sync generate manifests`. closes ray-project#612
Search before asking
KubeRay Component
ray-operator
What happened + What you expected to happen
This bug is found by #605. When I updated the value of
headGroupSpec.replicas
from 1 to 2. It breaks this rule. The number of workers is determined byworker.Replicas
(code), butHeadGroupSpec.Replicas
is unused in KubeRay.Possible solutions:
(1) Remove the
HeadGroupSpec.Replicas
field.(2) Create head pods based on
HeadGroupSpec.Replicas
.Reproduction script
headGroupSpec.replicas
in your YAML file from 1 to 2.Anything else
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: