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

feat: add RayCluster.status.metadata field #1

Closed
wants to merge 1 commit into from
Closed

Conversation

davidxia
Copy link
Owner

@davidxia davidxia commented Jul 16, 2022

as map[string]string. First entry will be head node IP.

Why are these changes needed?

Related issue number

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

@@ -112,6 +112,8 @@ type RayClusterStatus struct {
LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"`
// Service Endpoints
Endpoints map[string]string `json:"endpoints,omitempty"`
// Metadata
Metadata map[string]string `json:"metadata,omitempty"`

Choose a reason for hiding this comment

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

Here I think it's not necessary for us to add some new spec for the crd, for the metadata we can just store then as some annotation in rayclusters object.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I see. @Jeffwan, are you OK with the annotation approach?

as map[string]string. First entry will be head node IP.
@davidxia davidxia changed the base branch from dxia/patch1 to master July 26, 2022 21:02
@davidxia davidxia closed this Jul 26, 2022
@davidxia davidxia deleted the patch3 branch July 26, 2022 21:02
@davidxia davidxia restored the patch3 branch July 26, 2022 21:02
@davidxia davidxia deleted the patch3 branch July 28, 2022 11:59
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.

2 participants