Health Check

    By creating an resource we can instruct a data plane proxy to keep track of the health status for any other data plane proxy. When health-checks are properly configured, a data plane proxy will never send a request to another data plane proxy that is considered unhealthy. When an unhealthy data plane returns to a healthy state, Kuma will resume sending requests to it again. The data plane proxy will explicitly send requests to other data plane proxies (as described in the policy configuration) to determine if a target data plane is healthy or not. This will generate extra traffic to other data plane proxies and services.

    At the moment, the HealthCheck policy supports L4 checks that validate the health status of the underlying TCP connections.

    We will apply the configuration with kubectl apply -f [..].

    1. type: HealthCheck
    2. mesh: default
    3. - match:
    4. service: web
    5. destinations:
    6. conf:
    7. interval: 10s
    8. timeout: 2s
    9. unhealthyThreshold: 3