BYO Networking Oddities (or PEBKAC?) #5262
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
/kind bug
What steps did you take and what happened:
It could be that I'm just not reading the documentation correctly, but I'm attempting to use BYO Networking (networks and subnets exist, they all have routing tables and NAT Gateways already) to roll out a CAPZ cluster. The virtual networks exist in a different resource group, however they are in the same subscription. As this is an enterprise environment, the network settings are not fully user-configurable.
I observe the following when using
spec.networkSpec.apiServerLB.type: Internal
and altering the KubeadmConfigTemplates to inject a record for the apiserver in/etc/hosts
AzureCluster.spec.networkSpec.vnet.resourceGroup
/etc/hosts
in a preKubeAdm command for all config templatesWhat did you expect to happen:
/etc/hosts
, it's not needed and it should be possible to opt-out of the creation.Anything else you would like to add:
This has been really cool to use!
Environment:
kubectl version
): 1.30.3/etc/os-release
): Ubuntu 22.04.5 LTS (assuming you mean on the bootstrap source?)The text was updated successfully, but these errors were encountered: