rstudio / rstudio/helm

RSW: setting the hostname of the session pod?

Open
#193 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently the session pod hostname is set to the auto-generated pod name, e.g. session-e10d7cfc78a312b470742-<user>---rstudio-sessio--1-m7rv.

Is there a way to

  • define the session pod name from within the helm chart?
  • uncouple the pod hostname from the pod name?
  • Should the hostname definition be taken care of during image build or container startup?

This Q mainly relates to the bash prompt which looks by default as <user>@<hostname>. We're questioning ourselves which way (helm chart, default .bashrc or profile) might be the most cannonical one to prettify things here.

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

Start by inspecting the Helm chart and the session pod configuration, then compare where hostname behavior can be set: the chart, image build, container startup, .bashrc, or profile. Confirm the resulting bash prompt behavior and document or implement the selected canonical approach, with its scope and limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, helm, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.