Skip to content

Commit 6359d3c

Browse files
authored
Show cluster name in kubectl get rayjob (#2065)
1 parent 3db8d23 commit 6359d3c

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

helm-chart/kuberay-operator/crds/ray.io_rayjobs.yaml

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ray-operator/apis/ray/v1/rayjob_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ type RayJobStatus struct {
135135
// +kubebuilder:storageversion
136136
// +kubebuilder:printcolumn:name="job status",type=string,JSONPath=".status.jobStatus",priority=0
137137
// +kubebuilder:printcolumn:name="deployment status",type=string,JSONPath=".status.jobDeploymentStatus",priority=0
138+
// +kubebuilder:printcolumn:name="ray cluster name",type="string",JSONPath=".status.rayClusterName",priority=0
138139
// +kubebuilder:printcolumn:name="start time",type=string,JSONPath=".status.startTime",priority=0
139140
// +kubebuilder:printcolumn:name="end time",type=string,JSONPath=".status.endTime",priority=0
140141
// +kubebuilder:printcolumn:name="age",type="date",JSONPath=".metadata.creationTimestamp",priority=0
141-
// +kubebuilder:printcolumn:name="ray cluster name",type="string",JSONPath=".status.rayClusterName",priority=1
142142
// +genclient
143143
// RayJob is the Schema for the rayjobs API
144144
type RayJob struct {

ray-operator/config/crd/bases/ray.io_rayjobs.yaml

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)