-
Notifications
You must be signed in to change notification settings - Fork 449
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] Add extra_status field in RayCluster CRD #2762
Comments
We have a new conditions API that was introduced in v1.2 and will be enabled by default in v1.3. It can be easily extended to add arbitrary conditions if you are customizing the reconciler anyways. kuberay/ray-operator/apis/ray/v1/raycluster_types.go Lines 178 to 183 in 7a768f9
Let me know if that would work for you instead |
Do you suggest just use
field in the conditions to record the []bytes? |
What's your use case for putting messages in the status? |
I want to some other actions and persistent in state to remember what are done and the info. |
I see, another approach you can take here is just store json payload in an annotation. It's not uncommon to do this for tracking arbitrary data on objects. Conditions can work too but it's not designed for your use-case |
Search before asking
Description
In Ray cluster CRD, it is good to have another field.
Use case
I want to customize the RayclusterReconciler to store some extra status inside CR.
A []byte field gives the flexibility to store any data.
Related issues
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: