Class ReadinessCheck (1.8.0)

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

Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.

Attributes

NameDescription
path str
The request path.
host str
Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com".
failure_threshold int
Number of consecutive failed checks required before removing traffic.
success_threshold int
Number of consecutive successful checks required before receiving traffic.
check_interval google.protobuf.duration_pb2.Duration
Interval between health checks.
timeout google.protobuf.duration_pb2.Duration
Time before the check is considered failed.
app_start_timeout google.protobuf.duration_pb2.Duration
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.