create aks k8s network policy for ingress and igress to allow aad-pod-identity from/to pod

roy 1 Reputation point
2020-03-13T18:53:52.157+00:00

create aks k8s network policy for ingress and igress to allow aad-pod-identity from/to pod

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,130 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. jakaruna-MSFT 596 Reputation points Microsoft Employee
    2020-03-16T07:27:43.367+00:00

    You have 2 asks in your question. Lets see them one by one.

    Setting up network policy:

    You need to create a cluster with network policy enabled. You can do this only while creating. Once created you cant add or chnage the netwrok policy.

    You can choose from two network policies, Azure(Azure provided.) or calico(opensource).

    Azure networking policy supports Azure CNI(need to choose Advanced networking while creating the cluster)

    Calico supports both kubenet and azure CNI,

    This document will help you to deploy a cluster with network policy and create rules and test them. The same document also explains the difference between Azure and calico networking policy.

    AAD pod identity.

    This is a opensource project which helps us to give permissions(assign identities) for the pods. Pods can then access other azure resources without passwords.

    aad-pod-identity is a production ready opensource project. Link to official documentation is here.

    Also NOTE that Azure technical support wont support issues on Aad pod identity Because thats considered a opensource project and only community support is available.

    Try that out and let me know

    0 comments No comments