Datalore 2023.5 Help

Configure plans

Use the plans feature to limit resources that are available for users. To enable the feature, mount the configuration file into the Datalore container and put the path to it into the DATALORE_PLANS_CONFIGURATION variable.

services: datalore: ... environment: ... DATALORE_PLANS_CONFIGURATION: "file:/opt/datalore/configs/plans.yaml"

Each plan has a unique planId. Make sure that one of them is marked as default. When adding or configuring a plan, specify the following parameters:

Option

Value example

Description

diskUsageLimit

10 Gb

Disk space in persistence storage allowed per user

numRunningInstancesLimit

10

Number of parallel running agents allowed per user

instanceDurationQuotaMap

basic-agent: "PT100H"

large-agent: "PT10H"

Computation time per month available for each agent type; more than one agent type allowed, details in the tip below.

Example:

- planId: "Student" default: true name: "Student plan" instanceDurationQuotaMap: docker-base: "PT100H" docker-advanced: "PT100H" diskUsageLimit: "5.00 GB" numRunningInstancesLimit: 3 - planId: "Teacher" name: "Teacher plan" instanceDurationQuotaMap: docker-base: "PT100H" docker-advanced: "PT50H" diskUsageLimit: "25.00 GB" numRunningInstancesLimit: 10

Last modified: 31 March 2023