Skip to content

Commit 4bb87b2

Browse files
troyyyangdavidspek
andauthored
feat: upgrade ray -> 2.7 (#863)
* feat(ray): update chart and image Signed-off-by: David van der Spek <[email protected]> * ray 2.7 test upgrade * revert to plural image repo * pat self on back * fix worker ray version * try xlarge ray node * increase head node and request size * only increase resource request/limit * restore default worker config * bump versions --------- Signed-off-by: David van der Spek <[email protected]> Co-authored-by: David van der Spek <[email protected]>
1 parent 2b72be1 commit 4bb87b2

15 files changed

+466
-36
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: kuberay-operator
3-
repository: https://kevin85421.github.io/kuberay
4-
version: 0.3.0
5-
digest: sha256:abb43e05246ec58ef6137df26d2d1692f59066058695b84d17986e5622d82690
6-
generated: "2022-09-21T15:06:07.583379+02:00"
3+
repository: https://ray-project.github.io/kuberay-helm/
4+
version: 0.6.0
5+
digest: sha256:68767f4de687430221785f64d5b752285141d2192cae4c91a55b13d40106d063
6+
generated: "2023-10-05T14:25:03.985572273-07:00"

ray/helm/kuberay-operator/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ apiVersion: v2
22
name: kuberay-operator
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.1.3
6-
appVersion: "v0.3.0"
5+
version: 0.1.4
6+
appVersion: "v0.6.0"
77
dependencies:
88
- name: kuberay-operator
9-
version: 0.3.0
10-
repository: https://kevin85421.github.io/kuberay
9+
version: 0.6.0
10+
repository: https://ray-project.github.io/kuberay-helm/
-178 KB
Binary file not shown.
219 KB
Binary file not shown.

ray/helm/kuberay-operator/crds/ray.io_rayclusters.yaml

Lines changed: 151 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,28 @@ spec:
1616
singular: raycluster
1717
scope: Namespaced
1818
versions:
19-
- name: v1alpha1
19+
- additionalPrinterColumns:
20+
- jsonPath: .status.desiredWorkerReplicas
21+
name: desired workers
22+
type: integer
23+
- jsonPath: .status.availableWorkerReplicas
24+
name: available workers
25+
type: integer
26+
- jsonPath: .status.state
27+
name: status
28+
type: string
29+
- jsonPath: .metadata.creationTimestamp
30+
name: age
31+
type: date
32+
- jsonPath: .status.head.podIP
33+
name: head pod IP
34+
priority: 1
35+
type: string
36+
- jsonPath: .status.head.serviceIP
37+
name: head service IP
38+
priority: 1
39+
type: string
40+
name: v1alpha1
2041
schema:
2142
openAPIV3Schema:
2243
description: RayCluster is the Schema for the RayClusters API
@@ -205,6 +226,113 @@ spec:
205226
resources required.
206227
type: object
207228
type: object
229+
securityContext:
230+
description: SecurityContext defines the security options the
231+
container should be run with.
232+
properties:
233+
allowPrivilegeEscalation:
234+
description: AllowPrivilegeEscalation controls whether a process
235+
can gain more privileges than its parent process
236+
type: boolean
237+
capabilities:
238+
description: The capabilities to add/drop when running containers.
239+
properties:
240+
add:
241+
description: Added capabilities
242+
items:
243+
description: Capability represent POSIX capabilities
244+
type
245+
type: string
246+
type: array
247+
drop:
248+
description: Removed capabilities
249+
items:
250+
description: Capability represent POSIX capabilities
251+
type
252+
type: string
253+
type: array
254+
type: object
255+
privileged:
256+
description: Run container in privileged mode.
257+
type: boolean
258+
procMount:
259+
description: procMount denotes the type of proc mount to use
260+
for the containers.
261+
type: string
262+
readOnlyRootFilesystem:
263+
description: Whether this container has a read-only root filesystem.
264+
Default is false.
265+
type: boolean
266+
runAsGroup:
267+
description: The GID to run the entrypoint of the container
268+
process. Uses runtime default if unset.
269+
format: int64
270+
type: integer
271+
runAsNonRoot:
272+
description: Indicates that the container must run as a non-root
273+
user.
274+
type: boolean
275+
runAsUser:
276+
description: The UID to run the entrypoint of the container
277+
process.
278+
format: int64
279+
type: integer
280+
seLinuxOptions:
281+
description: The SELinux context to be applied to the container.
282+
properties:
283+
level:
284+
description: Level is SELinux level label that applies
285+
to the container.
286+
type: string
287+
role:
288+
description: Role is a SELinux role label that applies
289+
to the container.
290+
type: string
291+
type:
292+
description: Type is a SELinux type label that applies
293+
to the container.
294+
type: string
295+
user:
296+
description: User is a SELinux user label that applies
297+
to the container.
298+
type: string
299+
type: object
300+
seccompProfile:
301+
description: The seccomp options to use by this container.
302+
properties:
303+
localhostProfile:
304+
description: localhostProfile indicates a profile defined
305+
in a file on the node should be used.
306+
type: string
307+
type:
308+
description: type indicates which kind of seccomp profile
309+
will be applied.
310+
type: string
311+
required:
312+
- type
313+
type: object
314+
windowsOptions:
315+
description: The Windows specific settings applied to all
316+
containers.
317+
properties:
318+
gmsaCredentialSpec:
319+
description: GMSACredentialSpec is where the GMSA admission
320+
webhook (https://github.
321+
type: string
322+
gmsaCredentialSpecName:
323+
description: GMSACredentialSpecName is the name of the
324+
GMSA credential spec to use.
325+
type: string
326+
hostProcess:
327+
description: HostProcess determines if a container should
328+
be run as a 'Host Process' container.
329+
type: boolean
330+
runAsUserName:
331+
description: The UserName in Windows to run the entrypoint
332+
of the container process.
333+
type: string
334+
type: object
335+
type: object
208336
upscalingMode:
209337
description: UpscalingMode is "Conservative", "Default", or "Aggressive.
210338
enum:
@@ -5599,12 +5727,15 @@ spec:
55995727
type: object
56005728
required:
56015729
- rayStartParams
5602-
- serviceType
56035730
- template
56045731
type: object
5732+
headServiceAnnotations:
5733+
additionalProperties:
5734+
type: string
5735+
type: object
56055736
rayVersion:
5606-
description: RayVersion is the version of ray being used. this affects
5607-
the command used to start ray
5737+
description: RayVersion is the version of ray being used. This determines
5738+
the autoscaler's image version.
56085739
type: string
56095740
workerGroupSpecs:
56105741
description: WorkerGroupSpecs are the specs for the worker pods
@@ -11122,6 +11253,14 @@ spec:
1112211253
type: string
1112311254
description: Service Endpoints
1112411255
type: object
11256+
head:
11257+
description: Head info
11258+
properties:
11259+
podIP:
11260+
type: string
11261+
serviceIP:
11262+
type: string
11263+
type: object
1112511264
lastUpdateTime:
1112611265
description: LastUpdateTime indicates last update timestamp for this
1112711266
cluster status.
@@ -11138,6 +11277,14 @@ spec:
1113811277
each node group.
1113911278
format: int32
1114011279
type: integer
11280+
observedGeneration:
11281+
description: observedGeneration is the most recent generation observed
11282+
for this RayCluster.
11283+
format: int64
11284+
type: integer
11285+
reason:
11286+
description: Reason provides more information about current State
11287+
type: string
1114111288
state:
1114211289
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
1114311290
of cluster Important: Run "make" to regenerat'

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

Lines changed: 137 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,115 @@ spec:
231231
compute resources required.
232232
type: object
233233
type: object
234+
securityContext:
235+
description: SecurityContext defines the security options
236+
the container should be run with.
237+
properties:
238+
allowPrivilegeEscalation:
239+
description: AllowPrivilegeEscalation controls whether
240+
a process can gain more privileges than its parent process
241+
type: boolean
242+
capabilities:
243+
description: The capabilities to add/drop when running
244+
containers.
245+
properties:
246+
add:
247+
description: Added capabilities
248+
items:
249+
description: Capability represent POSIX capabilities
250+
type
251+
type: string
252+
type: array
253+
drop:
254+
description: Removed capabilities
255+
items:
256+
description: Capability represent POSIX capabilities
257+
type
258+
type: string
259+
type: array
260+
type: object
261+
privileged:
262+
description: Run container in privileged mode.
263+
type: boolean
264+
procMount:
265+
description: procMount denotes the type of proc mount
266+
to use for the containers.
267+
type: string
268+
readOnlyRootFilesystem:
269+
description: Whether this container has a read-only root
270+
filesystem. Default is false.
271+
type: boolean
272+
runAsGroup:
273+
description: The GID to run the entrypoint of the container
274+
process. Uses runtime default if unset.
275+
format: int64
276+
type: integer
277+
runAsNonRoot:
278+
description: Indicates that the container must run as
279+
a non-root user.
280+
type: boolean
281+
runAsUser:
282+
description: The UID to run the entrypoint of the container
283+
process.
284+
format: int64
285+
type: integer
286+
seLinuxOptions:
287+
description: The SELinux context to be applied to the
288+
container.
289+
properties:
290+
level:
291+
description: Level is SELinux level label that applies
292+
to the container.
293+
type: string
294+
role:
295+
description: Role is a SELinux role label that applies
296+
to the container.
297+
type: string
298+
type:
299+
description: Type is a SELinux type label that applies
300+
to the container.
301+
type: string
302+
user:
303+
description: User is a SELinux user label that applies
304+
to the container.
305+
type: string
306+
type: object
307+
seccompProfile:
308+
description: The seccomp options to use by this container.
309+
properties:
310+
localhostProfile:
311+
description: localhostProfile indicates a profile
312+
defined in a file on the node should be used.
313+
type: string
314+
type:
315+
description: type indicates which kind of seccomp
316+
profile will be applied.
317+
type: string
318+
required:
319+
- type
320+
type: object
321+
windowsOptions:
322+
description: The Windows specific settings applied to
323+
all containers.
324+
properties:
325+
gmsaCredentialSpec:
326+
description: GMSACredentialSpec is where the GMSA
327+
admission webhook (https://github.
328+
type: string
329+
gmsaCredentialSpecName:
330+
description: GMSACredentialSpecName is the name of
331+
the GMSA credential spec to use.
332+
type: string
333+
hostProcess:
334+
description: HostProcess determines if a container
335+
should be run as a 'Host Process' container.
336+
type: boolean
337+
runAsUserName:
338+
description: The UserName in Windows to run the entrypoint
339+
of the container process.
340+
type: string
341+
type: object
342+
type: object
234343
upscalingMode:
235344
description: UpscalingMode is "Conservative", "Default", or
236345
"Aggressive.
@@ -5861,12 +5970,15 @@ spec:
58615970
type: object
58625971
required:
58635972
- rayStartParams
5864-
- serviceType
58655973
- template
58665974
type: object
5975+
headServiceAnnotations:
5976+
additionalProperties:
5977+
type: string
5978+
type: object
58675979
rayVersion:
5868-
description: RayVersion is the version of ray being used. this
5869-
affects the command used to start ray
5980+
description: RayVersion is the version of ray being used. This
5981+
determines the autoscaler's image version.
58705982
type: string
58715983
workerGroupSpecs:
58725984
description: WorkerGroupSpecs are the specs for the worker pods
@@ -11656,10 +11768,15 @@ spec:
1165611768
of cluster Important: Run "make" to regenerat'
1165711769
type: string
1165811770
jobStatus:
11659-
description: JobStatus is the Ray Job Status. https://docs.ray.io/en/latest/cluster/jobs-package-ref.
11771+
description: JobStatus is the Ray Job Status.
1166011772
type: string
1166111773
message:
1166211774
type: string
11775+
observedGeneration:
11776+
description: observedGeneration is the most recent generation observed
11777+
for this RayJob.
11778+
format: int64
11779+
type: integer
1166311780
rayClusterName:
1166411781
type: string
1166511782
rayClusterStatus:
@@ -11680,6 +11797,14 @@ spec:
1168011797
type: string
1168111798
description: Service Endpoints
1168211799
type: object
11800+
head:
11801+
description: Head info
11802+
properties:
11803+
podIP:
11804+
type: string
11805+
serviceIP:
11806+
type: string
11807+
type: object
1168311808
lastUpdateTime:
1168411809
description: LastUpdateTime indicates last update timestamp for
1168511810
this cluster status.
@@ -11696,6 +11821,14 @@ spec:
1169611821
of each node group.
1169711822
format: int32
1169811823
type: integer
11824+
observedGeneration:
11825+
description: observedGeneration is the most recent generation
11826+
observed for this RayCluster.
11827+
format: int64
11828+
type: integer
11829+
reason:
11830+
description: Reason provides more information about current State
11831+
type: string
1169911832
state:
1170011833
description: 'INSERT ADDITIONAL STATUS FIELD - define observed
1170111834
state of cluster Important: Run "make" to regenerat'

0 commit comments

Comments
 (0)