Skip to content

Commit

Permalink
release 1.0.0-rc.0 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin85421 authored Sep 18, 2023
1 parent 07550c3 commit 0776db0
Show file tree
Hide file tree
Showing 14 changed files with 106 additions and 20 deletions.
2 changes: 1 addition & 1 deletion helm-chart/kuberay-apiserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.1
version: 1.0.0-rc.0
19 changes: 19 additions & 0 deletions helm-chart/kuberay-apiserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ .Values.name }}
labels:
{{ include "kuberay-apiserver.labels" . | indent 4 }}
{{- if .Values.labels }}
{{- toYaml .Values.labels | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
Expand All @@ -15,6 +18,13 @@ spec:
labels:
app.kubernetes.io/component: {{ include "kuberay-apiserver.name" . }}
app.kubernetes.io/name: {{ .Release.Name }}
{{- if .Values.labels }}
{{- toYaml .Values.labels | nindent 8 }}
{{- end }}
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccount.name }}
containers:
Expand All @@ -25,6 +35,15 @@ spec:
{{- toYaml .Values.containerPort | nindent 8 }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http

{{- if .Values.sidecarContainers }}
{{- toYaml .Values.sidecarContainers | nindent 6 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/kuberay-apiserver/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/port: "8888"
spec:
type: {{ .Values.service.type }}
selector:
Expand Down
10 changes: 7 additions & 3 deletions helm-chart/kuberay-apiserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
name: "kuberay-apiserver"
image:
repository: kuberay/apiserver
tag: v0.6.0
tag: v1.0.0-rc.0
pullPolicy: IfNotPresent

## Install Default RBAC roles and bindings
Expand All @@ -23,8 +23,12 @@ serviceAccount:
name: "kuberay-apiserver"

containerPort:
- containerPort: 8888
- containerPort: 8887
- name: http
containerPort: 8888
protocol: TCP
- name: grpc
containerPort: 8887
protocol: TCP

resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/kuberay-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
description: A Helm chart for Kubernetes
name: kuberay-operator
version: 0.6.1
version: 1.0.0-rc.0
icon: https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png
type: application
4 changes: 2 additions & 2 deletions helm-chart/kuberay-operator/crds/ray.io_rayclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6074,8 +6074,8 @@ spec:
type: string
type: object
rayVersion:
description: RayVersion is the version of ray being used. This determines
the autoscaler's image version.
description: RayVersion is used to determine the command for the Kubernetes
Job managed by RayJob
type: string
workerGroupSpecs:
description: WorkerGroupSpecs are the specs for the worker pods
Expand Down
23 changes: 20 additions & 3 deletions helm-chart/kuberay-operator/crds/ray.io_rayjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ spec:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code af'
type: string
entrypointNumCpus:
description: EntrypointNumCpus specifies the number of cpus to reserve
for the entrypoint command.
type: number
entrypointNumGpus:
description: EntrypointNumGpus specifies the number of gpus to reserve
for the entrypoint command.
type: number
entrypointResources:
description: EntrypointResources specifies the custom resources and
quantities to reserve for the entrypoint comm
type: string
jobId:
description: If jobId is not set, a new jobId will be auto-generated.
type: string
Expand Down Expand Up @@ -6330,8 +6342,8 @@ spec:
type: string
type: object
rayVersion:
description: RayVersion is the version of ray being used. This
determines the autoscaler's image version.
description: RayVersion is used to determine the command for the
Kubernetes Job managed by RayJob
type: string
workerGroupSpecs:
description: WorkerGroupSpecs are the specs for the worker pods
Expand Down Expand Up @@ -12090,7 +12102,12 @@ spec:
- headGroupSpec
type: object
runtimeEnv:
description: RuntimeEnv is base64 encoded.
description: RuntimeEnv is base64 encoded. This field is deprecated,
please use RuntimeEnvYAML instead.
type: string
runtimeEnvYAML:
description: RuntimeEnvYAML represents the runtime environment configuration
provided as a multi-line YAML string
type: string
shutdownAfterJobFinishes:
description: ShutdownAfterJobFinishes will determine whether to delete
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/kuberay-operator/crds/ray.io_rayservices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6316,8 +6316,8 @@ spec:
type: string
type: object
rayVersion:
description: RayVersion is the version of ray being used. This
determines the autoscaler's image version.
description: RayVersion is used to determine the command for the
Kubernetes Job managed by RayJob
type: string
workerGroupSpecs:
description: WorkerGroupSpecs are the specs for the worker pods
Expand Down
3 changes: 3 additions & 0 deletions helm-chart/kuberay-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ include "kuberay-operator.fullname" . }}
labels:
{{ include "kuberay-operator.labels" . | indent 4 }}
{{- if .Values.labels }}
{{- toYaml .Values.labels | nindent 4 }}
{{- end }}
spec:
replicas: 1
strategy:
Expand Down
12 changes: 12 additions & 0 deletions helm-chart/kuberay-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,18 @@ rules:
- list
- update
- watch
- apiGroups:
- route.openshift.io
resources:
- routes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
{{- if .Values.batchScheduler.enabled }}
- apiGroups:
- scheduling.volcano.sh
Expand Down
9 changes: 8 additions & 1 deletion helm-chart/kuberay-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

image:
repository: kuberay/operator
tag: v0.6.0
tag: v1.0.0-rc.0
pullPolicy: IfNotPresent

nameOverride: "kuberay-operator"
Expand Down Expand Up @@ -89,8 +89,15 @@ env:
# Otherwise, kuberay will use your custom domain
# - name: CLUSTER_DOMAIN
# value: ""
# If not set or set to false, when running on OpenShift with Ingress creation enabled, kuberay will create OpenShift route
# Otherwise, regardless of the type of cluster with Ingress creation enabled, kuberay will create Ingress
# - name: USE_INGRESS_ON_OPENSHIFT
# value: "true"
# Unconditionally requeue after the number of seconds specified in the
# environment variable RAYCLUSTER_DEFAULT_REQUEUE_SECONDS_ENV. If the
# environment variable is not set, requeue after the default value (300).
# - name: RAYCLUSTER_DEFAULT_REQUEUE_SECONDS_ENV
# value: 300
# If not set or set to "true", KubeRay will clean up the Redis storage namespace when a GCS FT-enabled RayCluster is deleted.
# - name: ENABLE_GCS_FT_REDIS_CLEANUP
# value: "true"
2 changes: 1 addition & 1 deletion helm-chart/ray-cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
description: A Helm chart for Kubernetes
name: ray-cluster
version: 0.6.1
version: 1.0.0-rc.0
icon: https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png
28 changes: 26 additions & 2 deletions helm-chart/ray-cluster/templates/raycluster-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,19 @@ spec:
{{- if .Values.head.serviceAccountName }}
serviceAccountName: {{ .Values.head.serviceAccountName }}
{{- end }}
{{- if .Values.head.initContainers }}
initContainers: {{- toYaml .Values.head.initContainers | nindent 10 }}
{{- end }}
containers:
- volumeMounts: {{- toYaml .Values.head.volumeMounts | nindent 12 }}
name: ray-head
{{- if .Values.head.image }}
image: {{ .Values.head.image.repository }}:{{ .Values.head.image.tag }}
imagePullPolicy: {{ .Values.head.image.pullPolicy }}
{{- else }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
resources: {{- toYaml .Values.head.resources | nindent 14 }}
securityContext:
{{- toYaml .Values.head.securityContext | nindent 14 }}
Expand Down Expand Up @@ -111,11 +119,19 @@ spec:
{{- if $values.serviceAccountName }}
serviceAccountName: {{ $values.serviceAccountName }}
{{- end }}
{{- if $values.initContainers }}
initContainers: {{- toYaml $values.initContainers | nindent 10 }}
{{- end }}
containers:
- volumeMounts: {{- toYaml $values.volumeMounts | nindent 12 }}
name: ray-worker
image: {{ $.Values.image.repository }}:{{ $.Values.image.tag }}
imagePullPolicy: {{ $.Values.image.pullPolicy }}
{{- if $values.image }}
image: {{ $values.image.repository }}:{{ $values.image.tag }}
imagePullPolicy: {{ $values.image.pullPolicy }}
{{- else }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
resources: {{- toYaml $values.resources | nindent 14 }}
securityContext:
{{- toYaml $values.securityContext | nindent 14 }}
Expand Down Expand Up @@ -178,11 +194,19 @@ spec:
{{- if .Values.worker.serviceAccountName }}
serviceAccountName: {{ .Values.worker.serviceAccountName }}
{{- end }}
{{- if .Values.worker.initContainers }}
initContainers: {{- toYaml .Values.worker.initContainers | nindent 10 }}
{{- end }}
containers:
- volumeMounts: {{- toYaml .Values.worker.volumeMounts | nindent 12 }}
name: ray-worker
{{- if .Values.worker.image }}
image: {{ .Values.worker.image.repository }}:{{ .Values.worker.image.tag }}
imagePullPolicy: {{ .Values.worker.image.pullPolicy }}
{{- else }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
resources: {{- toYaml .Values.worker.resources | nindent 14 }}
securityContext:
{{- toYaml .Values.worker.securityContext | nindent 14 }}
Expand Down
6 changes: 3 additions & 3 deletions helm-chart/ray-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

image:
repository: rayproject/ray
tag: 2.5.0
tag: 2.6.3
pullPolicy: IfNotPresent

nameOverride: "kuberay"
Expand All @@ -19,13 +19,13 @@ imagePullSecrets: []
head:
# rayVersion determines the autoscaler's image version.
# It should match the Ray version in the image of the containers.
# rayVersion: 2.5.0
# rayVersion: 2.6.3
# If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod.
# Ray autoscaler integration is supported only for Ray versions >= 1.11.0
# Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0.
# enableInTreeAutoscaling: true
# autoscalerOptions is an OPTIONAL field specifying configuration overrides for the Ray autoscaler.
# The example configuration shown below below represents the DEFAULT values.
# The example configuration shown below represents the DEFAULT values.
# autoscalerOptions:
# upscalingMode: Default
# idleTimeoutSeconds is the number of seconds to wait before scaling down a worker pod which is not using Ray resources.
Expand Down

0 comments on commit 0776db0

Please sign in to comment.