DeepHealthCheckOnStart
¶
Source code in docs_src/capo_pcs/types/deep_health_check_on_start.py
profile
instance-attribute
¶
profile: NotRequired[DeepHealthCheckOnStartProfile]
The deep health check profile to run. Each profile other than NONE runs NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other than NONE requires instance types with NVIDIA GPUs. This value is required when you specify onStart. There is no default value. Valid values:
-
NONE– Turns off the deep health check. You can't specifyrepairActionwith this profile. -
QUICK– Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch. -
MEDIUM– Runs extended GPU tests (DCGM diagnostics level 2). -
LONG– Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.
repair_action
instance-attribute
¶
repair_action: NotRequired[DeepHealthCheckOnStartRepairAction]
The action that PCS takes when an instance fails the deep health check. You can't specify this value when profile is NONE. If you don't specify this value and profile isn't NONE, PCS uses AUTO. GetComputeNodeGroup doesn't return a repairAction that you didn't specify. Valid values:
-
AUTO– PCS chooses the repair action based on the fault. -
REPLACE– Replaces the instance before it accepts jobs. -
ISOLATE– Stops new jobs on the instance and keeps the instance running until you investigate. -
NONE– Records the fault in Slurm and leaves the instance available for jobs.