-
Notifications
You must be signed in to change notification settings - Fork 4.7k
add systemd network config for Cilium and Amazon VPC CNI on Ubuntu 22.04+ and AL2023 to prevent route removal #17438
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
add systemd network config for Cilium and Amazon VPC CNI on Ubuntu 22.04+ and AL2023 to prevent route removal #17438
Conversation
Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW <mostafa.hussein91@gmail.com>
Hi @mostafahussein. 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. 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-sigs/prow repository. |
d991782
to
34df7a0
Compare
13887cc
to
857427f
Compare
/ok-to-test |
/retest |
/assign @hakman |
Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW <mostafa.hussein91@gmail.com>
857427f
to
fa2006d
Compare
@rifelpet can you authorize the pending workflows again, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this, we'll have a new set of kops releases shortly.
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
…38-origin-release-1.32 Automated cherry pick of #17438: add systemd network config for Cilium and Amazon VPC CNI on Ubuntu 22.04+ and AL2023 to prevent route removal
…38-origin-release-1.31 Automated cherry pick of #17438: add systemd network config for Cilium and Amazon VPC CNI on Ubuntu 22.04+ and AL2023 to prevent route removal
This PR adds support for the configuration below on Ubuntu 22.04+ and AL2023 to prevent breaking Kubernetes networking in case of using Cilium if
systemd-networkd
is restarted, by instructing it not to remove Cilium routes.Also, it adds support for the same configuration on Ubuntu 22.04+ in case of using Amazon VPC CNI, fixes #17433
The configuration has been tested manually by creating the file in the target directory to ensure it works as expected.
Note: I did not include
MACAddressPolicy=none
because, based on my understanding, this is already addressed by Cilium in case you're using a secondary ENI.