Skip to content

Commit 08a055a

Browse files
isqrdTimothy-Dougherty
authored andcommitted
Highlight the need to tag subnets
1 parent 6f088d5 commit 08a055a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/guide/service/nlb_ip_mode.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,22 @@ to enable proxy protocol v2, apply the following annotation to your service:
3333
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
3434
```
3535
36+
## Subnet tagging requirements
37+
You must tag the subnets you wish to attach your ELB to with the following tags.
38+
- For any subnet used by node group.
39+
- **Key:** *kubernetes.io/cluster/$CLUSTER_NAME*
40+
- **Value:** (shared|owned)
41+
- Shared - Allow more than one cluster to use the subnet
42+
- Owned - Only allow one cluster to use the subnet.
43+
44+
- For Private internal ELB
45+
- **Key:** *kubernetes.io/role/internal-elb*
46+
- **Value:** 1
47+
48+
- For Public ELB
49+
- **Key:** *kubernetes.io/role/elb*
50+
- **Value:** 1
51+
52+
3653
## Security group
3754
NLB does not currently support a managed security group. For ingress access, the controller will resolve the security group for the ENI corresponding to the endpoint pod. If the ENI has a single security group, it gets used. In case of multiple security groups, 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)