Disable cloud-init network hotplug on Ubuntu 24.04 for Cilium and Ama…#17882
Disable cloud-init network hotplug on Ubuntu 24.04 for Cilium and Ama…#17882k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
|
|
|
Welcome @yilmaz-burak! |
|
Hi @yilmaz-burak. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
84c0590 to
e8154bf
Compare
…zon VPC CNI On Ubuntu 24.04+, cloud-init network hotplug is enabled by default (cloud-init PR 4799). This causes cloud-init to reconfigure netplan when CNIs dynamically attach secondary ENIs, breaking BPF masquerade and network routing functionality. This fix disables cloud-init network hotplug by creating a configuration file at /etc/cloud/cloud.cfg.d/99-disable-network-hotplug.cfg that sets updates.network.when to only boot-new-instance, preventing cloud-init from handling hotplug events.
|
/ok-to-test |
|
/cc @rifelpet |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rifelpet The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
…zon VPC CNI
On Ubuntu 24.04+, cloud-init network hotplug is enabled by default (canonical/cloud-init#4799). This causes cloud-init to reconfigure netplan when CNIs dynamically attach secondary ENIs, breaking BPF masquerade and network routing functionality.
This fix disables cloud-init network hotplug by creating a configuration file at /etc/cloud/cloud.cfg.d/99-disable-network-hotplug.cfg that sets updates.network.when to an empty list, preventing cloud-init from handling any network update events including hotplug.
Fixes #17881