Skip to content

Commit 8b0352e

Browse files
authored
Small clarification
The template for ingress-controller has a name already defined. If you already has your subnets tagged with a different cluster-name, you will find the error "retrieval of subnets failed to resolve 2 qualified subnet" and it's not clear why. This clarification in the docs may help.
1 parent 37c15c6 commit 8b0352e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/controller/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ spec:
8282
## Subnet Auto Discovery
8383
You can tag AWS subnets to allow ingress controller auto discover subnets used for ALBs.
8484

85-
- `kubernetes.io/cluster/${cluster-name}` must be set to `owned` or `shared`
85+
- `kubernetes.io/cluster/${cluster-name}` must be set to `owned` or `shared`. Remember `${cluster-name}` needs to be the same name you're passing to the controller in the `--cluster-name` option
8686

8787
- `kubernetes.io/role/internal-elb` must be set to `1` or `` for internal LoadBalancers
8888

8989
- `kubernetes.io/role/elb` must be set to `1` or `` for internet-facing LoadBalancers
9090

9191
An example of a subnet with the correct tags for the cluster `joshcalico` is as follows:
92-
![subnet-tags](../../imgs/subnet-tags.png)
92+
![subnet-tags](../../imgs/subnet-tags.png)

0 commit comments

Comments
 (0)