-
Notifications
You must be signed in to change notification settings - Fork 631
Description
/kind feature
Describe the solution you'd like
The ability to create workload clusters on EKS that make use of secondary CIDR ranges (AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG
in amazon-vpc-cni-k8s) to avoid the need of large IP allocation while still having worker nodes that a routeable over DirectConnect.
Ideally this should also be supported when using existing AWS infrastructure where the control plane and worker nodes make use of the provided VPC and subnets and cluster-api create the needed additional subnets and route tables for the secondary CIDR.
For this to work fully without intervention cluster-api would be required to reconfigure the aws-node daemonset that comes with new EKS clusters as well as adding some ENIConfig
custom resources. This needs to be done prior to the worker nodes joining the cluster for the config to take effect.
Anything else you would like to add:
https://www.eksworkshop.com/beginner/160_advanced-networking/secondary_cidr/
https://aws.amazon.com/about-aws/whats-new/2018/10/amazon-eks-now-supports-additional-vpc-cidr-blocks/