You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the annotation to configure the load balancer backend to use the service's `healthCheckNodePort` for health checks.
246
+
When enabled for a port, the health check will use the `healthCheckNodePort` from the service specification instead of the regular `NodePort`.
247
+
This is particularly useful when the service has `externalTrafficPolicy: Local`, which automatically allocates a `healthCheckNodePort` for health checking.
248
+
The possible values are `false`, `true` or `*` for all ports or a comma delimited list of the service ports (for instance `80,443`).
249
+
250
+
**Important:** When this annotation is enabled, the health check configuration is overridden with the following settings:
251
+
- **Protocol:** HTTP
252
+
- **Method:** GET
253
+
- **URI:** `/healthz`
254
+
- **Expected Code:** 200
255
+
256
+
This configuration is specifically designed to work with Kubernetes' standard health check endpoint. All other health check type annotations (such as `service.beta.kubernetes.io/scw-loadbalancer-health-check-type`, `service.beta.kubernetes.io/scw-loadbalancer-health-check-http-uri`, etc.) are ignored for the ports where this annotation is enabled.
0 commit comments