Redis
The Redis health checker is a custom health checker (with envoy.health_checkers.redis
as name) which checks Redis upstream hosts. It sends a Redis PING command and expect a PONG response. The upstream Redis server can respond with anything other than PONG to cause an immediate active health check failure. Optionally, Envoy can perform EXISTS on a user-specified key. If the key does not exist it is considered a passing health check. This allows the user to mark a Redis instance for maintenance by setting the specified key to any value and waiting for traffic to drain.
An example setting for custom_health_check as a Redis health checker is shown below:
custom_health_check:
name: envoy.health_checkers.redis
typed_config:
"@type": type.googleapis.com/envoy.extensions.health_checkers.redis.v3.Redis
key: foo
当前内容版权归 servicemesher 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 servicemesher .