rstudio / rstudio/helm

Stripped down RSW server image

Open
#245 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

team: workbench
Dominant language
Markdown
Stars
46
Forks
40
Avg merge
4h 3m
Merged PRs (30d)
6

Description

The RSW chart is composed out of two images: server and session.
Currently rstudio/rstudio-workbench is used which is 1.72GB (compressed) in size (https://hub.docker.com/r/rstudio/rstudio-workbench/tags).

We've built an image which does the "server" job successfully and is only 544 MB in size (compressed). This speeds up pod relocation times.

https://hub.docker.com/r/cynkra/rsw-k8s-preview/tags

The image is built from ubuntu:focal and we tried to strip everything which might not be needed for the server image to do its job. It only includes one R version. Even though we see a bit more warnings and errors, we've not seen any practical issues so far during runtime.
Happy to share the Dockerfile if this is of interest to you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the RSW chart's server and session image configuration and compare it with the proposed cynkra/rsw-k8s-preview image. The issue does not name files or tests, and the Dockerfile is not included. Done would require a clear maintainer decision on adopting and validating the smaller server image.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, helm, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.