DeepHealthChecks
¶
Source code in docs_src/capo_pcs/types/deep_health_checks.py
on_start
instance-attribute
¶
on_start: NotRequired[DeepHealthCheckOnStart]
The deep health check to run each time an instance starts, including after a reboot, before the compute node accepts jobs. If the check fails after a reboot, PCS takes the same repairAction as at launch. For example, with REPLACE, PCS replaces the instance instead of returning it to service. If the compute node group has scripts in the nodeBootstrapped stage of nodeLifecycleActions, the deep health check runs after those scripts. If a script fails and its onError setting terminates the compute node, the deep health check doesn't run. This value is required when you specify deepHealthChecks.