Network policy: Calico Network policy vs Azure network policy Manager

Jamal Ashraf 31 Reputation points
2022-09-21T15:49:13.387+00:00

I would like to secure my pods in AKS and i am following best practices for it and i have came accrossed that i must use network policy in AKS for pods so that it would be secure because By default, pods are non-isolated; they accept traffic from any source. The Azure AKS solution to this security concern is Network Policy that lets developers control network access to their services.
So my concrete question is which is best to use in terms of less cost, advance features, long term use and less limitations.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,447 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,772 Reputation points Microsoft Employee Moderator
    2022-09-23T18:52:21.987+00:00

    @Jamal Ashraf Thanks for posting your query on Microsoft Q&A.

    Question: Differences between Azure Network Policy Manager and Calico Network Policy and their capabilities.

    Here is a side by side comparison of the two which should help you determine what would work better for your use case :

    244388-image.png

    Other limitations include:

    • Azure Network Policy Manager(NPM) doesn't support IPv6. Otherwise, Azure NPM fully supports the network policy spec in Linux.
    • To use Azure NPM, you must use the Azure CNI plug-in
    • Calico Network Policy could be used with either this same Azure CNI plug-in or with the Kubenet CNI plug-in.

    You will find even more details on the same in this document : https://learn.microsoft.com/en-us/azure/aks/use-network-policies#network-policy-options-in-aks

    If you have any questions, please let me know in the comments and I would be happy to answer.

    ----------

    If this answers your query, do click “Accept the answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.