-
Notifications
You must be signed in to change notification settings - Fork 295
KubernetesCluster tag is not applied to existing objects #135
Comments
Hi @flah00, Thanks for sharing your experience and findings! However, I don't (currently) think that it is a good idea to make Does this make sense to you? Oh, and I'd definitely recommend not to reuse subnets but VPCs and route tables. Related historical issues i.e. recommended readings: Ability to use existing VPC subnets by c-knowles · Pull Request #671 · coreos/coreos-kubernetes |
@mumoshu That definitely makes sense. As for the reuse of existing subnets, I misspoke. We are only reusing the vpc and route table. BTW, thanks for this utility, it's been a lifesaver. |
@flah00 Thanks for clarification 👍 Please let me confirm your situation a bit more. You had to manually tag your existing VPC and/or route table to successfully create |
I have two private subnets and three public subnets. I had to tag all of my subnets and route tables, with the name of my kubernetes cloudformation stack (key Without the tag, ELBs were always created in the private subnet, without a public IP. |
@flah00 Thanks for the additional info! We probably need to document that just for existing route tables then because subnets created via kube-aws are already tagged with |
I'm closing this as it is now documented in #162 🙇 |
I opted to use an existing VPC and existing subnets, because I wanted to stick with my existing public and private subnets. Unfortunately, none of the subnets or routing tables were tagged with the
KubernetesCluster
key and value. As best as I can tell, this prevented me from creating LoadBalancer services in my public subnet. After I tagged the configured subnets, I was able to create LoadBalancer services, with public IP addresses.kube-aws
, it seems, should be able to tag existing resources, to avoid headaches like this.The text was updated successfully, but these errors were encountered: