Skip to main content

Sessions

A Renku session is an interactive run-time environment that can be used to do work on data and code.

A session is created by a Session Launcher (see Launcher) and is a running instance of an Environment. Inside a session, all of the project’s Code repositories are cloned and Data connectors are mounted (as long as the user provided any required access credentials).

A session has access to a certain amount of compute resources (CPU, GPU, RAM and storage). This is determined by the resource class set on the Launcher. For more information about compute resources, see Resource Pools & Classes.

The sessions you launch are always private to you, but others with access to your project may launch their own instances of the session.

Managing sessions from the command line​

You can manage sessions from the terminal using the Renku CLI:

rnk session list # list running sessions with their ids
rnk launcher list --mode interactive # list session launchers with their ids
rnk session start --launcher <launcher-id> # start a new session and print its url
rnk session logs <session-id> # view session logs
rnk session stop <session-id> # stop a session

Make sure to enable shell completions for an easier time picking the launcher id and session id!

See the CLI reference for the full list of session commands.