HealthMonitoring
¶
Source code in docs_src/capo_pcs/types/health_monitoring.py
mode
instance-attribute
¶
mode: NotRequired[HealthMonitoringMode]
The health monitoring mode. This value is required when you specify healthMonitoring. There is no default value. Valid values:
-
NONE– Turns off health monitoring. You can't specifyrepairActionwith this mode. -
STANDARD– Continuously checks running instances for hardware and software faults.
repair_action
instance-attribute
¶
repair_action: NotRequired[HealthMonitoringRepairAction]
The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when mode is NONE. If you don't specify this value and mode 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 after running jobs finish. -
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.