Dynamic modules
The dynamic modules health checker is a custom health checker (with envoy.health_checkers.dynamic_modules
as name) that delegates the actual health check to a dynamic module.
Envoy drives the standard per-host interval,
timeout and
healthy/
unhealthy thresholds. On each interval
the module performs the check (optionally on its own thread) and reports the host’s health status back to Envoy,
which applies it on the main thread.
An example setting for custom_health_check as a dynamic modules health checker is shown below:
custom_health_check:
name: envoy.health_checkers.dynamic_modules
typed_config:
"@type": type.googleapis.com/envoy.extensions.health_checkers.dynamic_modules.v3.DynamicModuleHealthCheck
dynamic_module_config:
name: my_health_checker_module
health_checker_name: my_health_checker
health_checker_config:
"@type": type.googleapis.com/google.protobuf.StringValue
value: example-config