3.4. The MicroShift health check script
The 40_microshift_running_check.sh health check script only performs validation of core MicroShift services. Install your customized workload health check scripts in the greenboot directories to ensure successful application operations after system updates. Scripts run in alphabetical order.
MicroShift health checks are listed in the following table:
| Validation | Pass | Fail |
|---|---|---|
|
Check that the script runs with | Next |
|
|
Check that the | Next |
|
|
Wait for the | Next |
|
| For each core namespace, wait for readiness of the workload | Next |
|
3.4.1. Validation wait period リンクのコピーリンクがクリップボードにコピーされました!
The wait period in each validation is 10 minutes by default. After the wait period, if the validation has not succeeded, it is declared a failure. This wait period is incrementally increased by the base wait period after each boot in the verification loop.
-
You can override the base-time wait period by setting the
MICROSHIFT_WAIT_TIMEOUT_SECenvironment variable in the/etc/greenboot/greenboot.confconfiguration file. For example, you can change the wait time to 5 minutes by resetting the value to 300 seconds, such asMICROSHIFT_WAIT_TIMEOUT_SEC=300.