HealthCheckPolicy
¶
Source code in docs_src/capo_app_mesh/types/health_check_policy.py
healthy_threshold
instance-attribute
¶
healthy_threshold: HealthCheckThreshold
The number of consecutive successful health checks that must occur before declaring listener healthy.
interval_millis
instance-attribute
¶
interval_millis: HealthCheckIntervalMillis
The time period in milliseconds between each health check execution.
path
instance-attribute
¶
path: NotRequired[str]
The destination path for the health check request. This value is only used if the specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
port
instance-attribute
¶
port: NotRequired[PortNumber]
The destination port for the health check request. This port must match the port defined in the PortMapping for the listener.
protocol
instance-attribute
¶
protocol: PortProtocol
The protocol for the health check request. If you specify grpc, then your service must conform to the GRPC Health Checking Protocol.
timeout_millis
instance-attribute
¶
timeout_millis: HealthCheckTimeoutMillis
The amount of time to wait when receiving a response from the health check, in milliseconds.
unhealthy_threshold
instance-attribute
¶
unhealthy_threshold: HealthCheckThreshold
The number of consecutive failed health checks that must occur before declaring a virtual node unhealthy.