Skip to content
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 instructions to install Antrea in encap mode in AKS #5901

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

antoninbas
Copy link
Contributor

AKS has supported a "Bring Your Own CNI" mode for a while now: https://learn.microsoft.com/en-us/azure/aks/use-byo-cni?tabs=azure-cli

With this support, Antrea can easily be installed in encap mode in AKS clusters, with no limitation (unlike for EKS where there is no more connectivity from the control-plane to the Nodes). The only requirement is to enable Antrea NodeIPAM.

This support relies on the
Konnectivity Service, which is deployed by default in "recent" AKS versions, and guarantees connectivity from the control-plane to the Nodes, regardless of which CNI is used.

Fixes #5817

@antoninbas antoninbas added kind/documentation Categorizes issue or PR as related to a documentation. area/provider/azure Issues or PRs related to azure provider. action/release-note Indicates a PR that should be included in release notes. labels Jan 22, 2024
@antoninbas antoninbas added this to the Antrea v1.15 release milestone Jan 22, 2024
jianjuns
jianjuns previously approved these changes Jan 23, 2024
Copy link
Contributor

@jianjuns jianjuns left a comment

Choose a reason for hiding this comment

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

Great to see we can do encap mode on AKS!


AKS now officially supports [Bring your own Container Network Interface (BYOCNI)](https://learn.microsoft.com/en-us/azure/aks/use-byo-cni).
Thanks to this, you can deploy Antrea on EKS in `encap` mode, and you will not
lose access to any functionality. Check the AKS BYOCNI documentation for
Copy link
Contributor

Choose a reason for hiding this comment

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

any Antrea functionality?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually I meant it in a more general way, since when deploying Antrea on EKS in encap mode, K8s API aggregation will stop working for example

docs/aks-installation.md Outdated Show resolved Hide resolved
docs/aks-installation.md Outdated Show resolved Hide resolved
docs/aks-installation.md Outdated Show resolved Hide resolved
docs/aks-installation.md Outdated Show resolved Hide resolved
AKS has supported a "Bring Your Own CNI" mode for a while now:
https://learn.microsoft.com/en-us/azure/aks/use-byo-cni?tabs=azure-cli

With this support, Antrea can easily be installed in encap mode in AKS
clusters, with no limitation (unlike for EKS where there is no more
connectivity from the control-plane to the Nodes). The only requirement
is to enable Antrea NodeIPAM.

This support relies on the
[Konnectivity Service](https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/),
which is deployed by default in "recent" AKS versions, and guarantees
connectivity from the control-plane to the Nodes, regardless of which
CNI is used.

Fixes antrea-io#5817

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas
Copy link
Contributor Author

/skip-all

@antoninbas antoninbas merged commit ca5dc45 into antrea-io:main Jan 24, 2024
49 of 52 checks passed
@antoninbas antoninbas deleted the aks-encap-mode-installation branch January 24, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes. area/provider/azure Issues or PRs related to azure provider. kind/documentation Categorizes issue or PR as related to a documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Antrea in CNI mode on AKS
4 participants