View a markdown version of this page

NodeLifecycleStages - AWS PCS

NodeLifecycleStages

The stages of a compute node's lifecycle where you can configure scripts to run.

Contents

nodeBootstrapped

The scripts to run after AWS PCS finishes setting up the compute node and before the Slurm daemon (slurmd) starts. Use this stage for tasks that must complete before the node accepts jobs, such as mounting shared storage, configuring networking, or installing software packages.

Type: Array of NodeLifecycleScript objects

Array Members: Minimum number of 1 item. Maximum number of 20 items.

Required: No

nodeReady

The scripts to run after the Slurm daemon (slurmd) starts and the compute node registers with the Slurm controller. Use this stage for tasks that require Slurm to be running, such as running Slurm commands.

Type: Array of NodeLifecycleScript objects

Array Members: Minimum number of 1 item. Maximum number of 20 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: