The system is configured via environment variables. These are the ones available:
required: No, default: info
The log level to use. Any message below the specified level will not be logged. See zerolog documentation for available levels.
required: No, default: localhost
The IP address to listen for RPCs on.
required: No, default: 1234
The port to listen for RPCs on.
required: no, default: /dumps
The path to the folder where dumps will be stored, either by direct dumps or from file transfers from other hosts.
required: no, default: 22
The port from which to receive file transfers.
required: yes
The name of the user to use when authenticating with ssh during file transfer.
required: yes
The password of the user to use when authenticating with ssh during file transfer.
required: no, default: false
Whether or not to pass the AllowOpenTCP
option to go-runc which in turn
passes it as the --tcp-established
option to CRIU while
checkpointing. Needed for checkpointing TCP connections, see the
CRIU documentation for more information.
Parsed as a boolean, see
strconv.ParseBool() for valid
formats.
required: no, default: true
If set to false no dumps will be made during the runtime before a migration is initialized. Migrations will work as normal (but will effectively become regular pre-copy migrations), but failover will not work. Only intended to use for demonstration purposes.
required: no, default: 5
The length, in seconds, of the intervals between performing dumps.
required: no, default: 3
The length of each dump chain. The last dump of each chain will a full dump
from which the process can be recovered. If DUMP_INTERVAL
is set to m
seconds and CHAIN_LENGTH
is set to n
then every m*n
th second a full dump
will be made.
required: no, default: 1
The length, in seconds, of the intervals between sending pings to nodes in the cluster.
required: no, default: 5
The length, in seconds, of how long to wait for PING RPCs before considering the source to be down.
required: no, default: 3
The length, in seconds, of how long to the source waits for the reply for any PING RPC that it sends, before considering the target to be down.