Skip to content

ClusterSlurmConfiguration

Source code in docs_src/capo_pcs/types/cluster_slurm_configuration.py
class ClusterSlurmConfiguration(TypedDict, closed=True):
    scale_down_idle_time_in_seconds: NotRequired["int"]
    """<p>The time (in seconds) before an idle node is scaled down.</p> <p>Default: <code>600</code> </p>"""
    slurm_custom_settings: NotRequired[
        "capo_pcs.types.slurm_custom_settings.SlurmCustomSettings"
    ]
    """<p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>"""
    slurmdbd_custom_settings: NotRequired[
        "capo_pcs.types.slurmdbd_custom_settings.SlurmdbdCustomSettings"
    ]
    """<p>Additional SlurmDBD-specific configuration that directly maps to SlurmDBD settings.</p>"""
    cgroup_custom_settings: NotRequired[
        "capo_pcs.types.cgroup_custom_settings.CgroupCustomSettings"
    ]
    """<p>Additional Cgroup-specific configuration that directly maps to Cgroup settings.</p>"""
    job_submit_plugins: NotRequired[
        "capo_pcs.types.job_submit_plugin_list.JobSubmitPluginList"
    ]
    """<p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>"""
    auth_key: NotRequired["capo_pcs.types.slurm_auth_key.SlurmAuthKey"]
    """<p>The shared Slurm key for authentication, also known as the <b>cluster secret</b>.</p>"""
    jwt_auth: NotRequired["capo_pcs.types.jwt_auth.JwtAuth"]
    """<p>The JWT authentication configuration for Slurm REST API access.</p>"""
    accounting: NotRequired["capo_pcs.types.accounting.Accounting"]
    """<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"""
    slurm_rest: NotRequired["capo_pcs.types.slurm_rest.SlurmRest"]
    """<p>The Slurm REST API configuration for the cluster.</p>"""

accounting instance-attribute

accounting: NotRequired[Accounting]

The accounting configuration includes configurable settings for Slurm accounting.

auth_key instance-attribute

auth_key: NotRequired[SlurmAuthKey]

The shared Slurm key for authentication, also known as the cluster secret.

cgroup_custom_settings instance-attribute

cgroup_custom_settings: NotRequired[CgroupCustomSettings]

Additional Cgroup-specific configuration that directly maps to Cgroup settings.

job_submit_plugins instance-attribute

job_submit_plugins: NotRequired[JobSubmitPluginList]

The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.

jwt_auth instance-attribute

jwt_auth: NotRequired[JwtAuth]

The JWT authentication configuration for Slurm REST API access.

scale_down_idle_time_in_seconds instance-attribute

scale_down_idle_time_in_seconds: NotRequired[int]

The time (in seconds) before an idle node is scaled down.

Default: 600

slurm_custom_settings instance-attribute

slurm_custom_settings: NotRequired[SlurmCustomSettings]

Additional Slurm-specific configuration that directly maps to Slurm settings.

slurm_rest instance-attribute

slurm_rest: NotRequired[SlurmRest]

The Slurm REST API configuration for the cluster.

slurmdbd_custom_settings instance-attribute

slurmdbd_custom_settings: NotRequired[SlurmdbdCustomSettings]

Additional SlurmDBD-specific configuration that directly maps to SlurmDBD settings.