Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating default R version in PPM #371

Closed
wants to merge 1 commit into from
Closed

updating default R version in PPM #371

wants to merge 1 commit into from

Conversation

shahmonanshi
Copy link
Contributor

No description provided.

@@ -116,7 +116,7 @@ The Helm `config` values are converted into the `rstudio-pm.gcfg` service config
| awsAccessKeyId | bool | `false` | awsAccessKeyId is the access key id for s3 access, used also to gate file creation |
| awsSecretAccessKey | string | `nil` | awsSecretAccessKey is the secret access key, needs to be filled if access_key_id is |
| command | bool | `false` | command is the pod's run command. By default, it uses the container's default |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/3.6.2/"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/4.2.0/bin/R"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also ran across this issue and set manually as done here; thanks for adding to the upstream chart!

Note: per the docs here, the bin/R is not recommended

Suggested change
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/4.2.0/bin/R"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/4.2.0/"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the default version (symlink) inside the container.

Suggested change
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/4.2.0/bin/R"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/default/"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |

@@ -116,7 +116,7 @@ The Helm `config` values are converted into the `rstudio-pm.gcfg` service config
| awsAccessKeyId | bool | `false` | awsAccessKeyId is the access key id for s3 access, used also to gate file creation |
| awsSecretAccessKey | string | `nil` | awsSecretAccessKey is the secret access key, needs to be filled if access_key_id is |
| command | bool | `false` | command is the pod's run command. By default, it uses the container's default |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/3.6.2/"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/4.2.0/bin/R"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the default version (symlink) inside the container.

Suggested change
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/4.2.0/bin/R"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true},"Server":{"RVersion":"/opt/R/default/"}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |

@@ -228,7 +228,7 @@ serviceMonitor:
# -- config is a nested map of maps that generates the rstudio-pm.gcfg file
config:
Server:
RVersion: "/opt/R/3.6.2/"
RVersion: "/opt/R/4.2.0/bin/R"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the default version (symlink) inside the container.

Suggested change
RVersion: "/opt/R/4.2.0/bin/R"
RVersion: "/opt/R/default/"

@@ -1,6 +1,6 @@
name: rstudio-pm
description: Official Helm chart for RStudio Package Manager
version: 0.5.7
version: 0.5.8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we should update this to 0.6.0 since it could be a breaking change for some?

There would be two changes

  1. R v3 is no longer installed by default
  2. Rely on the default R version inside the container instead of pinning to a specific R version.

@bschwedler
Copy link
Contributor

bschwedler commented Jul 28, 2023

Symlinks were added to the containers for the default versions of R & Python, which correspond to the image tags: rstudio/rstudio-docker-products#601

We probably want to do this in conjunction with the next Package Manager release, since we are currently pinned on 2023.04 which does not include the default symlink.

@bschwedler
Copy link
Contributor

This has been superseded by #402

@bschwedler bschwedler closed this Aug 1, 2023
@bschwedler bschwedler deleted the ppm_fix branch October 30, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants