Skip to main content

Module process

Module process 

Source
Expand description

What a machine runs and when it is healthy, resolved once for every target: its command, the directory it runs in, and its healthcheck with every pace in seconds (Kubernetes counts in seconds; Compose and the VM scripts are given the same).

Structs§

Health
A healthcheck, its pace in seconds.
Process
A machine’s own process. Empty when the spec sets none of it: the image’s or the VM’s own.

Enums§

HealthTest
What a healthcheck tries.

Constants§

DEFAULT_INTERVAL
The healthcheck’s pace when the spec leaves it out: the port probe’s own.
DEFAULT_RETRIES
Failed tries in a row before the machine is unhealthy, by default (5 minutes at 5s).
DEFAULT_START_PERIOD
The grace period after start, by default.
DEFAULT_TIMEOUT
How long one try may take, by default.