# Controls how many instances of Posit Workbench are created.
replicas: 1
# Configures user home directory shared storage
homeStorage:
create: true
mount: true
path: "/home"
# The name of the PVC created for Workbench's user home directory shared storage.
name: workbench-user-pvc
# The storageClass to use for Workbench's user home directory. Must support RWX.
# Replace with your storage class name.
storageClassName: rstudio-efs-sc-retain
requests:
storage: 100G
# Configures Workbench shared storage
sharedStorage:
create: true
mount: true
# The name of the PVC created for Workbench's shared storage directory.
name: workbench-shared-pvc
# The storageClass to use for Workbench's shared storage directory. Must support RWX.
# Replace with your storage class name.
storageClassName: rstudio-efs-sc-retain
requests:
storage: 1G
# Creates a test user to verify installation
userCreate: true
# The config section is converted into the correct configuration files and are
# mounted to the server/session pods as needed.
config:
secret:
database.conf:
provider: "postgresql"
connection-uri: "postgres://rstudio@ha21r51pg.dbar.hdp.example.com:5432/rstudio"
# While it is possible to set a Postgres password here in the
# values file, we recommend removing the line above and providing
# the password at runtime using helm install's --set argument instead
# (e.g. --set config.secret.database\.conf.password=<your-postgres-password>)
openid-client-secret:
client-id: Rstudioconnect # TODO: Change to your client-id
session:
rsession.conf:
# These settings apply to RStudio Pro IDE sessions
session-timeout-minutes: 60
session-timeout-suspend: 1
session-quit-child-processes-on-exit: 1
# Disable External publishing to shiny.io etc.. https://docs.posit.co/ide/server-pro/hardening/r_session_security.html#disable-external-publishing
allow-external-publish: 0
repos.conf:
# This will set the Posit Public Package Manager (P3M) as the default R repository
# for Workbench users. This is recommended as P3M provides linux binaries for many
# R packages which will decrease package installation time. If you have your own
# Posit Package Manager server then replace these URLs with the URLs of your server.
CRAN: https://packagemanager.posit.co/cran/__linux__/jammy/latest
server:
jupyter.conf:
# These settings apply to Jupyter Notebook and JupyterLab IDE sessions
session-cull-minutes: 60
session-shutdown-minutes: 5
rserver.conf:
admin-enabled: 1 # More information at https://docs.posit.co/ide/server-pro/server_management/administrative_dashboard.html
admin-group: "r-admin"
auth-openid: 1
auth-openid-issuer: https://qa.cfed.example.com # TODO: Change to match your IdP
auth-openid-username-claim: orgauthid # TODO: Verify this works with your IdP. This claim must match the Linux account usernames.
logging.conf:
"*":
log-level: debug
logger-type: stderr
launcher.kubernetes.conf:
enable-debug-logging: 1
launcher.kubernetes.resources.conf:
"1-small":
cpus: "1.0"
mem-mb: "2048"
"2-medium":
cpus: "2.0"
mem-mb: "8192"
"3-large":
cpus: "3.0"
mem-mb: "16384"
"4-xlarge":
cpus: "4.0"
mem-mb: "32768"
"5-xxlarge":
cpus: "8.0"
mem-mb: "65536"
profiles:
launcher.kubernetes.profiles.conf:
"*":
# These settings are applied for all users and can be changed to suit
# your particular user needs. See the following resources for more information:
# https://github.com/rstudio/helm/tree/main/charts/rstudio-workbench#etcrstudiolauncherkubernetesprofilesconf
# https://docs.posit.co/ide/server-pro/job_launcher/kubernetes_plugin.html#kube-profiles
default-cpus: "1.0"
default-mem-mb: "2048"
max-mem-mb: "65536"
allow-unknown-images: 0
resource-profiles: default,1-small,2-medium,3-large,4-xlarge,5-xxlarge
default-container-image: "000000000000.dkr.ecr.us-east-1.amazonaws.com/rstudio:org-aws-ubuntu2204-2024.04.2a"
allow-custom-resources: 0
placement-constraints: eks.amazonaws.com/nodegroup:rstudio-1-small,eks.amazonaws.com/nodegroup:rstudio-2-medium,eks.amazonaws.com/nodegroup:rstudio-3-large,eks.amazonaws.com/nodegroup:rstudio-4-xlarge,eks.amazonaws.com/nodegroup:rstudio-5-xxlarge
container-images:
- "000000000000.dkr.ecr.us-east-1.amazonaws.com/rstudio:org-aws-ubuntu2204-2024.04.2a"
job-json-overrides:
- name: org-rs-auth-generic-user-role-sa
target: /spec/template/spec/serviceAccountName
json: "org-rs-auth-generic-user-role-sa"
"@hdp-auth-edm-wandisco-writer":
# These settings are applied for all users and can be changed to suit
# your particular user needs. See the following resources for more information:
# https://github.com/rstudio/helm/tree/main/charts/rstudio-workbench#etcrstudiolauncherkubernetesprofilesconf
# https://docs.posit.co/ide/server-pro/job_launcher/kubernetes_plugin.html#kube-profiles
default-cpus: "1.0"
default-mem-mb: "2048"
max-cpus: "8.0"
max-mem-mb: "65536"
resource-profiles: default,1-small,2-medium,3-large,4-xlarge,5-xxlarge
job-json-overrides:
- name: hdp-auth-edm-wandisco-writer-sa
target: /spec/template/spec/serviceAccountName
json: "hdp-auth-edm-wandisco-writer-sa"
"@hdp-auth-infosphere-edm-reader":
# These settings are applied for all users and can be changed to suit
# your particular user needs. See the following resources for more information:
# https://github.com/rstudio/helm/tree/main/charts/rstudio-workbench#etcrstudiolauncherkubernetesprofilesconf
# https://docs.posit.co/ide/server-pro/job_launcher/kubernetes_plugin.html#kube-profiles
default-cpus: "1.0"
default-mem-mb: "2048"
max-cpus: "8.0"
max-mem-mb: "65536"
resource-profiles: default,1-small,2-medium,3-large,4-xlarge,5-xxlarge
job-json-overrides:
- name: hdp-auth-infosphere-edm-reader-sa
target: /spec/template/spec/serviceAccountName
json: "hdp-auth-infosphere-edm-reader-sa"
Workbench Job Submission Failure: "Unable to Start the Job" - DebugLog Shows: "errorMessage":"Invalid resource profile for user"}"
Debug Log output:
values.yaml - partial
Images of Errors: