-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
/kind bug
What steps did you take and what happened:
- Trying to use the CAPI GCP controller to spin up a kubernetes cluster with native routing enabled.
- Using this unmerged fork: Minimal MachinePool support #1506
What did you expect to happen:
- Expected the GCPMachinePool CRD to support spec.AliasIPs to allow assigning secondary subnets to Managed Instance Groups in the backend as aliasIPs for native routing.
- But it seems that the GCPMachinePool spec have aliasIps commented out
// AliasIPRanges []infrav1.AliasIPRange `json:"aliasIPRanges,omitempty"` - The CRD does not have support to add in AliasIPs so there is no way to have a GCPMachinePool resource accept it in spec.
- AliasIPRanges is currently passed along as an emptyslice to
instance.NetworkInterfacesas well here.
Anything else you would like to add:
Can you please add GCPMachinePool to have support to allocate AliasIPs to underlying MIGs.
Environment:
- Cluster-api version: This fork Minimal MachinePool support #1506
- Minikube/KIND version: v1.26.15 and above
- Kubernetes version: (use
kubectl version): - OS (e.g. from
/etc/os-release): Ubuntu-20-04
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.