Skip to content

Commit

Permalink
Changes in the private subnet consideration
Browse files Browse the repository at this point in the history
This is because for internal ELB auto subnet discovery, both tags are used -
kubernetes.io/role/internal-elb	1
kubernetes.io/cluster/<cluster-name>	shared

Since as per code, first kubernetes.io/cluster/<cluster-name> is checked and then kubernetes.io/role/internal-elb is checked.

If kubernetes.io/cluster/<cluster-name> is not mentioned, then internal ELB is created on Public Subnets.
kubernetes/kubernetes#29298 (comment)
  • Loading branch information
badaldavda8 committed Jan 11, 2019
1 parent 4854bb3 commit e0dbd01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc_source/network_reqs.md
Expand Up @@ -44,4 +44,7 @@ Private subnets in your VPC should be tagged accordingly so that Kubernetes know

| Key | Value |
| --- | --- |
| `kubernetes.io/role/internal-elb` | `1` |
| `kubernetes.io/role/internal-elb` | `1` |
| `kubernetes.io/cluster/<cluster-name>` | `shared` |
+ **Key**: The *<cluster\-name>* value matches your Amazon EKS cluster's name\.
+ **Value**: The `shared` value allows more than one cluster to use this VPC\.

0 comments on commit e0dbd01

Please sign in to comment.