You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add session.components for init container delivery
Change the default session image from rstudio/r-session-complete
to rstudio/workbench-session and enable session component delivery
via init containers by default. The launcher configures a
workbench-session-init container that injects Workbench session
components into session pods at startup.
- Add session.components.enabled (default true) and
session.components.sessionInit values for init container config
- Configure rserver.conf with launcher-sessions-auto-update and
launcher-sessions-init-container-image-{name,tag} when both
launcher and components are enabled
- When launcher is disabled, components are silently ignored
- Set session.components.enabled=false and session.image.repository
to rstudio/r-session-complete to restore classic behavior
- Bump chart version to 0.11.0 (breaking change)
Copy file name to clipboardExpand all lines: charts/rstudio-workbench/NEWS.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,12 @@
1
1
# Changelog
2
2
3
3
4
+
## 0.11.0
5
+
6
+
-**BREAKING**: Change default session image from `rstudio/r-session-complete` to `rstudio/workbench-session` and enable session component delivery via init containers by default
7
+
- Add `session.components` values for configuring session component init containers.
8
+
Set `session.components.enabled: false` and `session.image.repository: rstudio/r-session-complete` to restore the previous behavior
9
+
4
10
## 0.10.12
5
11
6
12
- Fix invalid JSON in default `positron-user-settings.json`
By default, session pods use the `rstudio/workbench-session` image with an init container
178
+
(`rstudio/workbench-session-init`) that delivers Workbench session components at pod startup.
179
+
180
+
To use the classic all-in-one `r-session-complete` image instead (which bundles all components
181
+
into a single image), disable session components and change the session image:
182
+
183
+
```yaml
184
+
session:
185
+
image:
186
+
repository: "rstudio/r-session-complete"
187
+
components:
188
+
enabled: false
189
+
```
190
+
175
191
## General principles
176
192
177
193
- In most places, we opt to pass Helm values directly into ConfigMaps. We automatically translate these into the
@@ -696,12 +712,16 @@ Use of [Sealed secrets](https://github.com/bitnami-labs/sealed-secrets) disables
696
712
| serviceMonitor.additionalLabels | object | `{}` | additionalLabels normally includes the release name of the Prometheus Operator |
697
713
| serviceMonitor.enabled | bool | `false` | Whether to create a ServiceMonitor CRD for use with a Prometheus Operator |
698
714
| serviceMonitor.namespace | string | `""` | Namespace to create the ServiceMonitor in (usually the same as the one in which the Prometheus Operator is running). Defaults to the release namespace |
715
+
| session.components | object | `{"enabled":true,"sessionInit":{"repository":"rstudio/workbench-session-init","tag":""}}` | Session component delivery via init containers. When enabled (default), the chart configures rserver.conf so the launcher injects init containers into session pods at startup. Set `enabled: false` and change `session.image.repository` to `rstudio/r-session-complete` to use the classic all-in-one session image instead. |
716
+
| session.components.enabled | bool | `true` | Enable session component delivery via init containers. When false, no init containers are configured and session.image must be a self-contained image like r-session-complete. |
717
+
| session.components.sessionInit.repository | string | `"rstudio/workbench-session-init"` | The repository for the session init container image |
718
+
| session.components.sessionInit.tag | string | `""` | A tag override for the session init container. Default tag is the chart appVersion (or versionOverride) |
699
719
| session.defaultConfigMount | bool | `true` | Whether to automatically mount the config.session configuration into session pods. If launcher.namespace is different from Release Namespace, then the chart will duplicate the session configmap in both namespaces to facilitate this |
700
720
| session.defaultHomeMount | bool | `true` | Whether to automatically add the homeStorage PVC to the session (i.e. via the `launcher-mounts` file) |
701
721
| session.defaultSecretMountPath | string | `"/mnt/session-secret/"` | The path to mount the sessionSecret (from `config.sessionSecret`) onto the server and session pods |
702
-
| session.image.repository | string | `"rstudio/r-session-complete"` | The repository to use for the session image |
722
+
| session.image.repository | string | `"rstudio/workbench-session"` | The repository to use for the session image |
703
723
| session.image.tag | string | `""` | A tag override for the session image. Overrides the "tagPrefix" above, if set. Default tag is `{{ tagPrefix }}{{ version }}` |
704
-
| session.image.tagPrefix | string | `"ubuntu2204-"` | A tag prefix for session images (common selections: ubuntu2204-, centos7-). Only used if tag is not defined |
724
+
| session.image.tagPrefix | string | `"ubuntu2204-"` | A tag prefix for session images (common selections: ubuntu2204-). Only used if tag is not defined |
705
725
| shareProcessNamespace | bool | `false` | whether to provide `shareProcessNamespace` to the pod. |
706
726
| sharedStorage.accessModes | list | `["ReadWriteMany"]` | accessModes defined for the storage PVC (represented as YAML) |
707
727
| sharedStorage.annotations | object | `{"helm.sh/resource-policy":"keep"}` | Define the annotations for the Persistent Volume Claim resource |
0 commit comments