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
|[service.beta.kubernetes.io/aws-load-balancer-internal](#lb-internal)| boolean | false | deprecated, in favor of [aws-load-balancer-scheme](#lb-scheme)|
|[service.beta.kubernetes.io/aws-load-balancer-proxy-protocol](#proxy-protocol-v2)| string || Set to `"*"` to enable |
30
+
|[service.beta.kubernetes.io/aws-load-balancer-proxy-protocol](#proxy-protocol-v2)| string || Set to `"*"` to enable for all service ports|
31
31
|[service.beta.kubernetes.io/aws-load-balancer-proxy-protocol-per-target-group](#proxy-protocol-v2)| string || If specified,configures proxy protocol for the target groups corresponding to the ports mentioned and disables for the rest. For example, if you have services deployed on ports `"80, 443 and 22"`, the annotation value `"80, 443"` will enable proxy protocol for ports 80 and 443 only, and disable for port 22. This annotation is overriden by `"service.beta.kubernetes.io/aws-load-balancer-proxy-protocol"`|
|[service.beta.kubernetes.io/aws-load-balancer-access-log-enabled](#deprecated-attributes)| boolean | false | deprecated, in favor of [aws-load-balancer-attributes](#load-balancer-attributes)|
@@ -256,11 +256,18 @@ You can configure dualstack NLB to support UDP-based services over IPv6 via the
256
256
NLB resource attributes can be controlled via the following annotations:
257
257
258
258
- <aname="proxy-protocol-v2">service.beta.kubernetes.io/aws-load-balancer-proxy-protocol</a> specifies whether to enable proxy protocol v2 on the target group.
259
-
Set to '*' to enable proxy protocol v2. This annotation takes precedence over the annotation `service.beta.kubernetes.io/aws-load-balancer-target-group-attributes`
260
-
for proxy protocol v2 configuration.
259
+
This annotation takes precedence over the annotation `service.beta.kubernetes.io/aws-load-balancer-target-group-attributes` for proxy protocol v2 configuration.
260
+
If you specify `*`, proxy protocol v2 is enabled for all ports. If you specify a list of one or more ports, proxy protocol v2 is enabled only for those ports.
- <aname="target-group-attributes">`service.beta.kubernetes.io/aws-load-balancer-target-group-attributes`</a> specifies the
266
273
[Target Group Attributes](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes) to be configured.
return []elbv2model.TargetGroupAttribute{}, errors.Errorf("invalid value %v for Load Balancer proxy protocol v2 annotation, only value currently supported is *", proxyV2Annotation)
0 commit comments