/api/configs/pool#
Pool config is used to configure compute pools for workload distribution and resource management.
Top-Level Configuration#
Top-level configuration is used to configure compute pools.
Field |
Type |
Description |
Default Values |
|---|---|---|---|
|
Dict[String, Pool] |
Dictionary of pool name to compute pool configurations. |
|
Pool#
Field |
Type |
Description |
Default Values |
|---|---|---|---|
|
String |
Unique identifier for the pool. |
Required field |
|
String |
Human-readable description of the pool and its purpose. |
|
|
Boolean |
Whether maintenance mode is enabled for the pool. |
|
|
String |
Name of the backend associated with this pool. |
|
|
String |
Default platform identifier to use for tasks in this pool. |
|
|
String |
Default execution timeout for tasks. Must be in the format of <integer><unit> (for example, 10m, 1h, 1d). |
Inherited from |
|
String |
Default queue timeout for tasks. Must be in the format of <integer><unit> (for example, 10m, 1h, 1d). |
Inherited from |
|
String |
Maximum allowed execution timeout for tasks. Must be in the format of <integer><unit> (for example, 10m, 1h, 1d). |
Inherited from |
|
String |
Maximum allowed queue timeout for tasks. Must be in the format of <integer><unit> (for example, 10m, 1h, 1d). |
Inherited from |
|
Dict[String, Integer] |
Default actions to perform when tasks exit with a specific exit code. The available actions are: COMPLETE, FAIL, RESCHEDULE. |
|
|
Permissions for various pool actions. |
Default configuration |
|
|
Dict[String, Resource Constraint] |
Resource allocation configuration for the pool. |
|
|
Dict[String, String] |
Default values for variables used in pod templates. |
|
|
Array[String] |
List of resource validation names applied to all platforms in the pool. Read more about resource validation in Resource Validation. |
|
|
Array[String] |
List of pod template names applied to all platforms in the pool. Read more about pod templates in Pod Templates. |
|
|
Dict[String, Platform] |
Dictionary of platform configurations available in this pool. |
|
Permission Level#
Permission Level |
Description |
|---|---|
|
Access available to all authenticated users |
|
Access available to all users with pool access |
|
Access restricted to the user who submitted the workflow |
Action Permissions#
Field |
Type |
Description |
Default Values |
|---|---|---|---|
|
Permission level required to execute tasks. |
|
|
|
Permission level required for port forwarding operations. |
|
|
|
Permission level required to cancel tasks. |
|
|
|
Permission level required for rsync operations. |
|
Resource Constraint#
For more explanations and examples, see Scheduler Configuration.
Field |
Type |
Description |
Default Values |
|---|---|---|---|
|
Integer |
Guaranteed minimum number of resources allocated to the pool for non-preemptible workflows. |
|
|
Integer |
Maximum number of resources that can be allocated to the pool. |
|
|
Integer |
Scheduling weight for resource allocation priority relative to other pools. |
|
Warning
To set up priority and preemption for pools sharing the same resource nodes, admins need to configure ALL pools with the guarantee, weight, and maximum settings. Otherwise, preemption will not be enabled across pools (e.g. Pool A cannot preempt a workflow from Pool B).
Platform#
Field |
Type |
Description |
Default Values |
|---|---|---|---|
|
String |
Human-readable description of the platform. |
|
|
Boolean |
Whether tasks can use host networking. |
|
|
Boolean |
Whether privileged containers are allowed. |
|
|
Array[String] |
List of mount paths that are allowed for tasks. |
|
|
Array[String] |
Default mount configurations applied to tasks. |
|
|
Dict[String, String] |
Default values for variables used in pod templates. If the variable is defined in the pool setting, this will override the pool setting. |
|
|
Array[String] |
Platform-specific resource validation rules. Read more about resource validation in Resource Validation. |
|
|
Array[String] |
Pod template overrides specific to this platform. Read more about pod templates in Pod Templates. |
|