-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ControlPlaneLoadBalancer
subnet filters
#3979
Comments
@AverageMarcus: This issue is currently awaiting triage. If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale (Sorry, I haven't had time to work on this any more yet) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen I can take a look at this one in the coming weeks |
/priority important-longterm |
/kind bug
/kind cleanup
What steps did you take and what happened:
Currently it's possible to create and assign subnets to almost all resources handled by CAPA except for the control plane API server load balancer. The subnet to use can be specified on the
AWSCluster
CR but only by using the subnet IDs rather than being able to use filters like we can for other resources. This means that to use specific subnets for the load balancer they need to be created in advance without the help of CAPA instead of being able to specify them within theNetworkSpec
of anAWSCluster
CR.When no subnet IDs are provided CAPA falls back to using the first subnet in each AZ associated with the
AWSCluster
.What did you expect to happen:
The ability to have CAPA both create the subnets and associate them with the load balancer.
The ideal approach in my opinion would be to use the same approach as on
AWSMachine
andAWSMachinePool
where its possible to specify subnets ID and/or filters to use to lookup the subnets. This would allow the subnets to be created with CAPA and then use those to associate with the load balancer based on, for example, specific AWS tags added to the subnets.Anything else you would like to add:
Subnets
property is a string array where it would be best to be ainfrav1.AWSResourceReference
array to match other resources.Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: