Skip to content

Commit

Permalink
chore: remove HeadGroupSpec.Replicas from raycluster_types.go
Browse files Browse the repository at this point in the history
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
  • Loading branch information
davidxia committed Oct 31, 2023
1 parent aab9871 commit e5eeb54
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 50 deletions.
6 changes: 0 additions & 6 deletions helm-chart/kuberay-operator/crds/ray.io_rayclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down Expand Up @@ -7120,9 +7117,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down
6 changes: 0 additions & 6 deletions helm-chart/kuberay-operator/crds/ray.io_rayjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down Expand Up @@ -10232,9 +10229,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down
6 changes: 0 additions & 6 deletions helm-chart/kuberay-operator/crds/ray.io_rayservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down Expand Up @@ -7482,9 +7479,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down
2 changes: 0 additions & 2 deletions ray-operator/apis/ray/v1/raycluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ type HeadGroupSpec struct {
HeadService *v1.Service `json:"headService,omitempty"`
// EnableIngress indicates whether operator should create ingress object for head service or not.
EnableIngress *bool `json:"enableIngress,omitempty"`
// HeadGroupSpec.Replicas is deprecated and ignored; there can only be one head pod per Ray cluster.
Replicas *int32 `json:"replicas,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.
Expand Down
5 changes: 0 additions & 5 deletions 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.

2 changes: 0 additions & 2 deletions ray-operator/apis/ray/v1alpha1/raycluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ type HeadGroupSpec struct {
HeadService *v1.Service `json:"headService,omitempty"`
// EnableIngress indicates whether operator should create ingress object for head service or not.
EnableIngress *bool `json:"enableIngress,omitempty"`
// HeadGroupSpec.Replicas is deprecated and ignored; there can only be one head pod per Ray cluster.
Replicas *int32 `json:"replicas,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.
Expand Down
5 changes: 0 additions & 5 deletions 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.

6 changes: 0 additions & 6 deletions ray-operator/config/crd/bases/ray.io_rayclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down Expand Up @@ -7120,9 +7117,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down
6 changes: 0 additions & 6 deletions ray-operator/config/crd/bases/ray.io_rayjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down Expand Up @@ -10232,9 +10229,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down
6 changes: 0 additions & 6 deletions ray-operator/config/crd/bases/ray.io_rayservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down Expand Up @@ -7482,9 +7479,6 @@ spec:
additionalProperties:
type: string
type: object
replicas:
format: int32
type: integer
serviceType:
type: string
template:
Expand Down

0 comments on commit e5eeb54

Please sign in to comment.