Autohealing
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access