Skip to content

Runtime Profiles ​

A runtime profile holds what a workload's code needs: the engine image, libraries, environment variables and catalogs. Jobs, sessions and notebooks pick one beside their compute profile, which says where and how big they run. Picking a runtime profile is optional.

In the UI, runtime profiles live under Compute → Runtime Profiles. Create one there with Add Runtime Profile, or inline with New runtime profile while creating a job, session or notebook.

What a runtime profile holds ​

  • Name: how it shows up in the picker.
  • Teams: the teams whose workloads can pick it. A runtime profile belongs to no cluster.
  • Libraries: PyPI packages, inline requirements, or requirements and wheel files from an S3 URI. Jobs and notebooks run Python 3.14 with the PySpark 4.1 Spark Connect client, pysail and boto3 already installed. In a job, your libraries must work with those versions, and a library that brings its own copy of one, such as pyspark, fails the run at setup.
  • Environment variables: values passed to the Sail engine and, for notebooks, to the notebook kernel as well. Values can be literals, managed secret references, or JSON templates containing secret references.
  • Catalogs: catalogs available to workloads using the runtime profile. Select Default beside a catalog so SQL can omit the catalog name.
  • Engine image: a Sail container image of your own. Leave it empty to run the platform's engine release, which suits most workloads.

A workload without a runtime profile runs with the platform's engine release, and with no libraries, environment variables or catalogs other than its own.

Override a runtime profile ​

A job, notebook or session can set its own values on top of its runtime profile. These are its overrides. For libraries, environment variables and catalogs, choose:

  • Add to inherited: keep the runtime profile's entries and add the workload's.
  • Replace inherited: run with the workload's entries alone.

A workload variable with the same name as a runtime profile variable replaces its value. View effective runtime settings in the form shows the result, with where each value comes from. Save as runtime profile there turns a workload's runtime settings into a new runtime profile that other workloads can pick.

Teams and secrets ​

Every team linked to a runtime profile must be able to use its catalogs and the secrets its variables reference. A workload can pick a runtime profile that is linked to at least one of its teams, and every team of the workload must also be able to use those secrets. LakeSail checks both whenever a job run, session or notebook starts, so a team that lost access is refused at the next start. The refusal says what to change: pick another runtime profile, or link the teams.

Editing and deleting ​

  • Editing: saving reaches the next new job run and notebook start of each job and notebook that uses the runtime profile. Its Used by tab lists them. Job runs, sessions and notebooks that are already running or queued keep their settings snapshot. A continuous job takes the edit when you publish or activate a job version, or pause and resume the job. See When settings change.
  • Deleting: jobs and notebooks that reference a runtime profile prevent deletion. Choose another runtime profile on each notebook, and delete each job that uses it, because a job's versions keep the runtime profile they name.

API reference ​

  • Workload profiles: ListRuntimeProfiles, CreateRuntimeProfile, DescribeRuntimeProfile, UpdateRuntimeProfile, DeleteRuntimeProfile, GetRuntimeProfileReferences, and the team links ListRuntimeProfileTeams, AddTeamsToRuntimeProfile, RemoveTeamFromRuntimeProfile.

Can't find the answer here? Email us: support@lakesail.com