Class LivenessCheck (0.2.0)

LivenessCheck(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.

Attributes

NameDescription
path str
The request path.
host str
Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com".
failure_threshold int
Number of consecutive failed checks required before considering the VM unhealthy.
success_threshold int
Number of consecutive successful checks required before considering the VM healthy.
check_interval google.protobuf.duration_pb2.Duration
Interval between health checks.
timeout google.protobuf.duration_pb2.Duration
Time before the check is considered failed.
initial_delay google.protobuf.duration_pb2.Duration
The initial delay before starting to execute the checks.

Inheritance

builtins.object > proto.message.Message > LivenessCheck