heptio / aws-quickstart

AWS Kubernetes cluster via CloudFormation and kubeadm
Apache License 2.0
223 stars 134 forks source link

Ticket 148: Choose Subnets for new VPC template #183

Closed rbankston closed 6 years ago

rbankston commented 6 years ago

Would be great to be able to choose the subnet when creating a cluster with a new vpc. This would allow more folks to peer the cluster since they could be sure it didn't overlap with any existing vpc.

detiber commented 6 years ago

@rbankston can you elaborate a bit more on the use case that you see here? I would not expect overlapping of private subnet IP to matter between clusters since they would be communicating through the NAT gateway or through publicly exposed services/ingress.

rbankston commented 6 years ago

Sure can. In AWS when you want to establish a vpc peering session the cidr ranges on both sides of the peer have to be unique. It is similar to setting up a peer to peer vpn.