diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 35588e4c0..29046e2a1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,39 @@ .. _changelog: +0.61.1 +------ + +Renku 0.61.1 introduces a few bug fixes for the previous release. + + +User-Facing Changes +~~~~~~~~~~~~~~~~~~~ + +**🐞 Bug Fixes** + +- **Sessions**: Correctly launch sessions that request dedicated resources classes + +Internal Changes +~~~~~~~~~~~~~~~~ + +**Bug Fixes** + +- **Amalthea**: Add resource requests for the authentication proxy containers +- **Amalthea**: Add support for setting priority classes for sessions +- **Data services**: Use the working directory to mount cloud storage if the mount path is relative +- **Data services**: Use HTTPS in the redirect URL for the authentication proxy +- **Data services**: Use GPU resource limits when GPUs are requested +- **Helm chart**: Do not set the default storage class to empty string if it is not set in the values file +- **Helm chart**: Restart the data services and notebooks pods when the mounted secret changes + +Individual components +~~~~~~~~~~~~~~~~~~~~~~ + +- `amalthea 0.14.5 `_ +- `amalthea 0.14.6 `_ +- `renku-data-services 0.27.1 `_ + + 0.61.0 ------ diff --git a/helm-chart/renku/requirements.yaml b/helm-chart/renku/requirements.yaml index 0de1c1460..061692e12 100644 --- a/helm-chart/renku/requirements.yaml +++ b/helm-chart/renku/requirements.yaml @@ -23,10 +23,10 @@ dependencies: alias: jena - name: amalthea repository: "https://swissdatasciencecenter.github.io/helm-charts/" - version: "0.14.3" + version: "0.14.6" - name: amalthea-sessions repository: "https://swissdatasciencecenter.github.io/helm-charts/" - version: "0.14.4" + version: "0.14.6" - name: dlf-chart repository: "https://swissdatasciencecenter.github.io/datashim/" version: "0.3.9-renku-2" diff --git a/helm-chart/renku/templates/data-service/deployment.yaml b/helm-chart/renku/templates/data-service/deployment.yaml index e657cd9b4..ec07eb281 100644 --- a/helm-chart/renku/templates/data-service/deployment.yaml +++ b/helm-chart/renku/templates/data-service/deployment.yaml @@ -23,8 +23,10 @@ spec: app: renku-data-service release: {{ .Release.Name }} {{ .Values.global.redis.clientLabel | toYaml | nindent 8 }} - {{- with .Values.dataService.podAnnotations }} annotations: + # NOTE: Without this the pod will not restart when the secret values change. + checksum/config: {{ include (print $.Template.BasePath "/notebooks/env-secret.yaml") . | sha256sum }} + {{- with .Values.dataService.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} spec: diff --git a/helm-chart/renku/templates/notebooks/deployment.yaml b/helm-chart/renku/templates/notebooks/deployment.yaml index 978d466f1..be4b9ed1f 100644 --- a/helm-chart/renku/templates/notebooks/deployment.yaml +++ b/helm-chart/renku/templates/notebooks/deployment.yaml @@ -17,6 +17,9 @@ spec: release: {{ .Release.Name }} template: metadata: + annotations: + # NOTE: Without this the pod will not restart when the secret values change. + checksum/config: {{ include (print $.Template.BasePath "/notebooks/env-secret.yaml") . | sha256sum }} labels: app: {{ template "renku.notebooks.name" . }}-k8s-watcher chart: {{ template "renku.chart" . }} diff --git a/helm-chart/renku/templates/notebooks/env-secret.yaml b/helm-chart/renku/templates/notebooks/env-secret.yaml index c229aab65..4c765cc9d 100644 --- a/helm-chart/renku/templates/notebooks/env-secret.yaml +++ b/helm-chart/renku/templates/notebooks/env-secret.yaml @@ -9,9 +9,9 @@ metadata: type: Opaque stringData: NB_SESSIONS__STORAGE__PVS_ENABLED: {{ .Values.notebooks.userSessionPersistentVolumes.enabled | quote }} - {{ if .Values.notebooks.userSessionPersistentVolumes.enabled }} + {{- if and .Values.notebooks.userSessionPersistentVolumes.enabled .Values.notebooks.userSessionPersistentVolumes.storageClass }} NB_SESSIONS__STORAGE__PVS_STORAGE_CLASS: {{ .Values.notebooks.userSessionPersistentVolumes.storageClass | quote}} - {{ end }} + {{- end }} NB_SESSIONS__STORAGE__USE_EMPTY_DIR_SIZE_LIMIT: {{ .Values.notebooks.userSessionPersistentVolumes.useEmptyDirSizeLimit | quote }} NB_SESSIONS__DEFAULT_IMAGE: "{{ .Values.notebooks.defaultSessionImage }}" NB_SERVER_OPTIONS__DEFAULTS_PATH: /etc/renku-notebooks/server_options/server_defaults.json diff --git a/helm-chart/renku/values.yaml b/helm-chart/renku/values.yaml index 3d3a1828e..4790c3d35 100644 --- a/helm-chart/renku/values.yaml +++ b/helm-chart/renku/values.yaml @@ -1595,14 +1595,14 @@ dataService: create: true image: repository: renku/renku-data-service - tag: "0.27.0" + tag: "0.27.1" pullPolicy: IfNotPresent backgroundJobs: events: resources: {} image: repository: renku/data-service-background-jobs - tag: "0.27.0" + tag: "0.27.1" pullPolicy: IfNotPresent total: resources: {} @@ -1655,7 +1655,7 @@ authz: secretsStorage: image: repository: renku/secrets-storage - tag: "0.27.0" + tag: "0.27.1" pullPolicy: IfNotPresent service: type: ClusterIP