8. Auto-healing Cloud Run services using HTTP Liveness Probe with the help of HTTP Startup Probe
In this video, we're going enable "auto-healing" for our Cloud Run service by using HTTP Startup Probe to determine when instances are ready serving traffic and HTTP Liveness Probe for instances health check.
Be careful when configuring HTTP Startup Probe. If x = initialDelaySeconds + (failureThreshold * periodSeconds) is too short, your Cloud Run service will never be run successfully (Because when x is reached and your service is still not ready, then it will be restarted resulting in infinite looping.
Github: https://github.com/nlinhvu/card-service-cloudrun
Spring Boot on Google Cloud CloudRun Series: https://www.youtube.com/watch?v=uMgkCwNQrIg&list=PLLMxXO6kMiNjWJwXyUkuMAeygt_PvwKbF
References:
Container health checks: https://cloud.google.com/run/docs/configuring/healthchecks
CPU allocation: https://cloud.google.com/run/docs/configuring/cpu-allocation
Видео 8. Auto-healing Cloud Run services using HTTP Liveness Probe with the help of HTTP Startup Probe канала Linh Vu
Be careful when configuring HTTP Startup Probe. If x = initialDelaySeconds + (failureThreshold * periodSeconds) is too short, your Cloud Run service will never be run successfully (Because when x is reached and your service is still not ready, then it will be restarted resulting in infinite looping.
Github: https://github.com/nlinhvu/card-service-cloudrun
Spring Boot on Google Cloud CloudRun Series: https://www.youtube.com/watch?v=uMgkCwNQrIg&list=PLLMxXO6kMiNjWJwXyUkuMAeygt_PvwKbF
References:
Container health checks: https://cloud.google.com/run/docs/configuring/healthchecks
CPU allocation: https://cloud.google.com/run/docs/configuring/cpu-allocation
Видео 8. Auto-healing Cloud Run services using HTTP Liveness Probe with the help of HTTP Startup Probe канала Linh Vu
Комментарии отсутствуют
Информация о видео
12 декабря 2022 г. 11:10:23
00:20:02
Другие видео канала