In tutorial of AWS EKS, for adding secondary CIDRs to the new VPC, We should add following tags to the new subnets
I know tag2 and tag3 are for discovery by load balancers or ingress from this site, but What is tag1 "eksctl.cluster.k8s.io/v1alpha1/cluster-name" for?
Apparently this tag shows the cluster name.
The tag name is defined below:
https://github.com/weaveworks/eksctl/blob/release-0.25/pkg/apis/eksctl.io/v1alpha5/types.go#L168-L169.
And for example, the defined constant is used by the function of getting a cluster name.
https://github.com/weaveworks/eksctl/blob/release-0.25/pkg/cfn/manager/cluster.go#L189-L209
So maybe the eksctl judge a cluster name from an "eksctl.cluster.k8s.io/v1alpha1/cluster-name" tag.