Skip to content

Conversation

wedaly
Copy link

@wedaly wedaly commented Sep 13, 2024

Azure CNI has defaulted to transparent mode since 2020 (see Azure/azure-container-networking#709) and today all AKS clusters on a supported version (1.27 or later) are running in transparent mode.

Cilium no longer needs workarounds to force Azure CNI from bridge mode to transparent mode, so remove these steps from the nodeinit script.

Remove workaround for Azure CNI bridge mode from nodeinit script.

Azure CNI has defaulted to transparent mode since 2020
(see Azure/azure-container-networking#709)
and today all AKS clusters on a supported version (1.27 or later)
are running in transparent mode.

Cilium no longer needs workarounds to force Azure CNI from bridge mode
to transparent mode, so remove these steps from the nodeinit script.

Signed-off-by: Will Daly <widaly@microsoft.com>
@wedaly wedaly requested review from a team as code owners September 13, 2024 20:06
@wedaly wedaly requested review from joamaki and squeed September 13, 2024 20:06
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Sep 13, 2024
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Sep 13, 2024
@dylandreimerink
Copy link
Member

/test

@ldelossa ldelossa added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Sep 17, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Sep 17, 2024
@ldelossa ldelossa added the area/azure Impacts Azure based IPAM. label Sep 17, 2024
@ruicao93
Copy link
Contributor

Hi @wedaly , iust a bit curious, why Azure convert from bridge mode to transparent mode? Isn't the performance of bridge mode better than Linux routing?

Copy link
Contributor

@squeed squeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice cleanup, thanks!

@squeed
Copy link
Contributor

squeed commented Sep 20, 2024

/ci-aks

@joamaki joamaki enabled auto-merge September 20, 2024 11:59
@joamaki joamaki added this pull request to the merge queue Sep 20, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Sep 20, 2024
Merged via the queue into cilium:main with commit b8a4612 Sep 20, 2024
73 checks passed
@wedaly
Copy link
Author

wedaly commented Sep 20, 2024

Hi @wedaly , iust a bit curious, why Azure convert from bridge mode to transparent mode? Isn't the performance of bridge mode better than Linux routing?

@ruicao93 this part of the AKS docs is a pretty good description of the problems with bridge mode: https://github.com/MicrosoftDocs/azure-docs/blob/32ecba35211b602b74596d6753b3fcd4a3a90f41/articles/aks/faq.md#benefits-of-transparent-mode (it's since been deleted from the public docs, but you can see it in the git history).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/azure Impacts Azure based IPAM. kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants