July 2018
Intermediate to advanced
506 pages
16h 2m
English
In order to ensure the overall health of the group, MIGs support autohealing through the use of custom health checks. Health checks take the form of network requests, defined as a protocol, a port, and an optional request payload and expected response. For health checks conducted using HTTP and HTTPS, users may also define a request route and headers.
Compute Engine executes the health checks based on a user-defined interval. Additionally, a healthy threshold and an unhealthy threshold are defined. A machine is considered unhealthy should the health check consecutively fail the number of times defined in the unhealthy threshold, and is considered healthy only after the health check has consecutively succeeded the number of times ...