Skip to content

UI support for remote session on Runai#4053

Draft
ciyer wants to merge 4 commits intomainfrom
ciyer/runai-support
Draft

UI support for remote session on Runai#4053
ciyer wants to merge 4 commits intomainfrom
ciyer/runai-support

Conversation

@ciyer
Copy link
Contributor

@ciyer ciyer commented Feb 26, 2026

Description

Changes to the admin console to allow setting up Run:AI as a remote backend.

Limitations

The Run:AI remote backend is currently just a proof-of-concept. It works, but with limitations. Launching a session from the Renkulab UI will start a Run:AI workspace, but it will not be displayed in the Renkulab UI, because the tunneling/port-forwarding does not work. Also, the git repositories are not cloned into the Run:AI workspace.

Testing

Set up a resource pool for Run:AI, targeting the SDSC Run:AI cluster, for example (though this should work with any Run:AI cluster).

Create an "Access Key" for your user in the user settings. The information to configure the remote session needs to be passed in Environment Variables. Create a session launcher, set one of the Runai resources classes as the default. Then set the following environment variables:

  • RSC_AUTH_KIND: client_credentials
  • RSC_RUNAI_PROJECT: [your Run:AI project]
  • RSC_AUTH_RUNAI_CLIENT_ID: [the client id of the access key]
  • RSC_AUTH_RUNAI_CLIENT_SECRET: [the secret of the access key]

/deploy amalthea-sessions=ciyer/runai-support renku-data-services=ciyer/amalthea-runai

@ciyer ciyer requested a review from a team as a code owner February 26, 2026 12:54
@ciyer ciyer force-pushed the ciyer/runai-support branch 2 times, most recently from cabf947 to 7f4a622 Compare February 26, 2026 13:25
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ui-4053.dev.renku.ch

@ciyer ciyer force-pushed the ciyer/runai-support branch 4 times, most recently from f5c4430 to 9907451 Compare March 4, 2026 09:26
Copy link
Member

@leafty leafty left a comment

Choose a reason for hiding this comment

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

Notes:

  • please add a description
  • I would like to review and merge the backend pieces first

public/config.json
# Do not format generated files
*generated-api.ts
.react-router/types
Copy link
Member

Choose a reason for hiding this comment

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

We need to keep formatting the generated files: they are checked into git and the formatting makes them easier to read.

Suggested change
.react-router/types
public/config.json
.react-router/types

@ciyer ciyer marked this pull request as draft March 5, 2026 09:45
@ciyer
Copy link
Contributor Author

ciyer commented Mar 5, 2026

Notes:

  • please add a description
  • I would like to review and merge the backend pieces first

Sorry, this should still be a draft PR.

@ciyer ciyer force-pushed the ciyer/runai-support branch from 9907451 to 7685736 Compare March 5, 2026 09:52
Copy link
Member

@leafty leafty left a comment

Choose a reason for hiding this comment

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

The updated admin UI is buggy: I could not create a local resource pool, the button "+ add resource pool" would not do anything.

Will check the code later.

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