github.com/cilium/cilium@v1.16.2/Documentation/installation/k8s-install-aks.rst (about)

     1  .. only:: not (epub or latex or html)
     2  
     3      WARNING: You are looking at unreleased Cilium documentation.
     4      Please use the official rendered version released here:
     5      https://docs.cilium.io
     6  
     7  .. _aks_install:
     8  
     9  *****************************************************
    10  Installation using Azure CNI Powered by Cilium in AKS
    11  *****************************************************
    12  
    13  This guide walks you through the installation of Cilium on AKS (Azure Kubernetes Service) via 
    14  the `Azure Container Network Interface (CNI) Powered by Cilium
    15  <https://learn.microsoft.com/en-us/azure/aks/azure-cni-powered-by-cilium>`__ option.
    16  
    17  Create the cluster
    18  ==================
    19  
    20  Create an Azure CNI Powered by Cilium AKS cluster with ``network-plugin azure`` and 
    21  ``--network-dataplane cilium``. You can create the cluster either in ``podsubnet`` or ``overlay`` mode. 
    22  In both modes, traffic is routed through the Azure Virtual Network Stack. The choice between these 
    23  modes depends on the specific use case and requirements of the cluster. Refer to `the related documentation <https://learn.microsoft.com/en-us/azure/aks/azure-cni-overlay#choosing-a-network-model-to-use>`__  to know more about these two modes.
    24  
    25  .. tabs::
    26    
    27    .. group-tab:: Overlay
    28    
    29      .. code-block:: shell-session
    30  
    31          az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
    32          --network-plugin azure \
    33          --network-dataplane cilium \
    34          --network-plugin-mode overlay \
    35          --pod-cidr 192.168.0.0/16
    36  
    37      See also `the detailed instructions from scratch 
    38      <https://learn.microsoft.com/en-us/azure/aks/azure-cni-powered-by-cilium#option-1-assign-ip-addresses-from-an-overlay-network>`__.
    39  
    40    .. group-tab:: Podsubnet
    41      
    42      .. code-block:: shell-session
    43  
    44          az aks create -n <clusterName> -g <resourceGroupName> -l <location> \
    45          --network-plugin azure \
    46          --network-dataplane cilium \
    47          --vnet-subnet-id /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/virtualNetworks/<vnetName>/subnets/nodesubnet \
    48          --pod-subnet-id /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/virtualNetworks/<vnetName>/subnets/podsubnet 
    49  
    50      See also `the detailed instructions from scratch
    51      <https://learn.microsoft.com/en-us/azure/aks/azure-cni-powered-by-cilium#option-2-assign-ip-addresses-from-a-virtual-network>`_. 
    52      
    53  .. include:: k8s-install-validate.rst
    54  
    55  Delegated Azure IPAM
    56  ====================
    57  
    58  Delegated Azure IPAM (IP Address Manager) manages the IP allocation for pods created in Azure CNI Powered by Cilium clusters.
    59  It assigns IPs that are routable in Azure Virtual Network stack. To know more about the Delegated Azure IPAM, 
    60  see :ref:`azure_delegated_ipam`.