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
@@ -431,8 +431,13 @@ Health check on target groups can be configured with following annotations:
431
431
432
432
- <a name="healthcheck-port">`service.beta.kubernetes.io/aws-load-balancer-healthcheck-port`</a> specifies the TCP port to use for target group health check.
433
433
434
-
!!!note "default value"
435
-
- if you do not specify the health check port, the default value will be `spec.healthCheckNodePort` when `externalTrafficPolicy=local` or `traffic-port` otherwise.
434
+
!!!note "accepted values"
435
+
- `traffic-port` - use the same port as the target group traffic (default when `externalTrafficPolicy=Cluster`)
436
+
- Integer string (e.g., `"80"`) - use this specific port number
437
+
- Service port name (e.g., `"http"`) - resolves based on target type:
438
+
- **Instance targets**: uses the Service port's `NodePort`
439
+
- **IP targets**: uses the Service port's `targetPort` (must be numeric, not a named port)
440
+
- **Default**: `spec.healthCheckNodePort` when `externalTrafficPolicy=Local`, otherwise `traffic-port`
436
441
437
442
!!!example
438
443
- set the health check port to `traffic-port`
@@ -443,6 +448,10 @@ Health check on target groups can be configured with following annotations:
- <a name="healthcheck-path">`service.beta.kubernetes.io/aws-load-balancer-healthcheck-path`</a> specifies the http path for the health check in case of http/https protocol.
0 commit comments