Skip to content

Commit 8dbaaec

Browse files
rohanmangalTimothy-Dougherty
authored andcommitted
Updated nlb-ip with more details around proxy protocol (kubernetes-sigs#1473)
added specific annotation required for proxy protocol. reference links to annotation from K8s doc. reference links to NLB Proxy Protocol V2 from AWS NLB doc.
1 parent b68d841 commit 8dbaaec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/guide/nlb-ip.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ For internal load balancer, you must tag the private subnets as follows:
3939
| `kubernetes.io/role/internal-elb` | `1` |
4040

4141
## Protocols
42-
Support is available for both TCP and UDP protocols. In case of TCP, NLB in IP mode does not pass the client source IP address to the pods. You can configure protocol v2 via annotation if you need the client source IP address.
42+
Support is available for both TCP and UDP protocols. In case of TCP, NLB in IP mode does not pass the client source IP address to the pods. You can configure [NLB proxy protocol v2](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol) via [annotation](https://kubernetes.io/docs/concepts/services-networking/service/#proxy-protocol-support-on-aws) if you need the client source IP address.
43+
44+
to enable proxy protocol v2, apply the following annotation to your service:
45+
```yaml
46+
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
47+
```
4348

4449
## Security group
4550
NLB does not currently support a managed security group. For ingress access, the controller will resolve the security group for the ENI corresponding tho the endpoint pod. If the ENI has a single security group, it gets used. In case of multiple security gropus, the controller expects to find only one security group tagged with the Kubernetes cluster id. Controller will update the ingress rules on the security groups as per the service spec.

0 commit comments

Comments
 (0)