Skip to content

Commit

Permalink
golangcli fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mszadkow committed Feb 13, 2025
1 parent e61f214 commit 94be668
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions ray-operator/apis/ray/v1/raycluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ type RedisCredential struct {

// HeadGroupSpec are the spec for the head pod
type HeadGroupSpec struct {
// ServiceType is Kubernetes service type of the head service. it will be used by the workers to connect to the head pod
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
// Template is the exact pod template used in K8s depoyments, statefulsets, etc.
Template corev1.PodTemplateSpec `json:"template"`
// HeadService is the Kubernetes service of the head pod.
HeadService *corev1.Service `json:"headService,omitempty"`
// EnableIngress indicates whether operator should create ingress object for head service or not.
EnableIngress *bool `json:"enableIngress,omitempty"`
// RayStartParams are the params of the start command: node-manager-port, object-store-memory, ...
RayStartParams map[string]string `json:"rayStartParams"`
// Template is the exact pod template used in K8s depoyments, statefulsets, etc.
Template corev1.PodTemplateSpec `json:"template"`
// ServiceType is Kubernetes service type of the head service. it will be used by the workers to connect to the head pod
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
}

// WorkerGroupSpec are the specs for the worker pods
Expand Down
2 changes: 1 addition & 1 deletion ray-operator/apis/ray/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ray-operator/apis/ray/v1alpha1/raycluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ type RayClusterSpec struct {

// HeadGroupSpec are the spec for the head pod
type HeadGroupSpec struct {
// ServiceType is Kubernetes service type of the head service. it will be used by the workers to connect to the head pod
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
// Template is the exact pod template used in K8s depoyments, statefulsets, etc.
Template corev1.PodTemplateSpec `json:"template"`
// HeadService is the Kubernetes service of the head pod.
HeadService *corev1.Service `json:"headService,omitempty"`
// EnableIngress indicates whether operator should create ingress object for head service or not.
EnableIngress *bool `json:"enableIngress,omitempty"`
// RayStartParams are the params of the start command: node-manager-port, object-store-memory, ...
RayStartParams map[string]string `json:"rayStartParams"`
// Template is the exact pod template used in K8s depoyments, statefulsets, etc.
Template corev1.PodTemplateSpec `json:"template"`
// ServiceType is Kubernetes service type of the head service. it will be used by the workers to connect to the head pod
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
}

// WorkerGroupSpec are the specs for the worker pods
Expand Down
2 changes: 1 addition & 1 deletion ray-operator/apis/ray/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 94be668

Please sign in to comment.