HealthCheck(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
Attributes | |
---|---|
Name | Description |
disable_health_check |
bool
Whether to explicitly disable health checks for this instance. |
host |
str
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com". |
healthy_threshold |
int
Number of consecutive successful health checks required before receiving traffic. |
unhealthy_threshold |
int
Number of consecutive failed health checks required before removing traffic. |
restart_threshold |
int
Number of consecutive failed health checks required before an instance is restarted. |
check_interval |
google.protobuf.duration_pb2.Duration
Interval between health checks. |
timeout |
google.protobuf.duration_pb2.Duration
Time before the health check is considered failed. |