Skip to main content

Creating AKS Cluster

This document discusses the steps for creating an AKS cluster

Steps to create the Cluster​

  1. Go to https://portal.azure.com/ and log in with your Azure credentials.

  2. In the portal search bar, search for Kubernetes services and select Kubernetes services.

  3. Click Create > Kubernetes clusterto open the Create Kubernetes cluster screen.

  4. On the Create Kubernetes cluster screen, in the Basics tab, enter the following details:

    FieldValue
    SubscriptionName of the Azure subscription
    Resource groupName of the resource group you created to host the AKS cluster
    Cluster preset configurationProduction Standard
    Kubernetes cluster nameA name for the Kubernetes cluster you want to create
    RegionSame as VNet
    Fleet ManagerNone
    Availability zonesSelect Zone 1 and Zone 2
    AKS pricing tierStandard
    Enable long-term supportNo
    Kubernetes versionLatest stable version
    Automatic upgradeDisabled
    Authentication and AuthorizationMicrosoft Entra ID authentication with Kubernetes RBAC
    Cluster Admin BindingSelect customer Entra ID security group
  5. Select the Node pools tab, and then click Add node pool > Add a Virtual Machine node pool to open Add a node pool screen.

    1. On the Add a node pool screen, in the Basics tab, provide the following details:

      FieldValue
      Node pool nameA name you want to provide for the node pool
      ModeSystem
      OS SKUUbuntu Linux
      Availability zonesSelect Node 2 and Node 3
      Enable Azure spot instancesKeep it unchecked
      Node sizeStandard D8as v6
      Scale methodAutoscale
    2. In the Optional settings tab, set the value for the field M ax pods per node to 50.

    3. Keep the other settings as they are ensuring that there is no taints or labels applied.

    4. Click Add at the bottom to go back to the Node pools tab on the Create Kubernetes cluster screen.

  6. On the Create Kubernetes cluster screen, select the Networking tab, and do the following configurations:

    1. Access Settings:

      1. Private Cluster: Disabled
      2. Authorized IP ranges: Enabled (Whitelist the IP range) to allow the incoming traffic to the cluster.
    2. Container Networking:

      1. Network Configuration: Azure CNI Overlay
    3. Bring Your Own VNet:

      1. Enable BYO VNet
    4. Virtual Network Selection:

      1. VNet: ad-int-cus-demo-vnet-010
      2. Subnet: aks-subnet
    5. IP Address Settings

      SettingValue
      Kubernetes service address range10.0.0.0/16
      Kubernetes DNS service IP10.0.0.10
      DNS name prefixAuto-generated
    6. Network Policy

      1. None
    7. Load Balancer Settings

      SettingValue
      Load Balancer SKUStandard
      Outbound TypeLoad Balancer
  7. Select rthe Integrations tab and do the following configurations:

    1. (Optional) Azure Container RegistryContainer Registry:

      1. None
    2. Istio Service MeshEnable Istio:

      1. Unchecked
    3. (Recommended for production) Azure PolicyAzure Policy:

      1. Enabled
  8. Select Monitoring tab and do the following configurations:

    1. Enable Container Logs:

      1. Checked
    2. Disable all other monitoring options:

      1. Managed Prometheus
      2. Grafana
      3. Alerts
  9. Select the Tagstab and do the following configurations:

    KeyValue
    environmentdemo / prod
    customercustomer-name
    managedByAdeptia
  10. Select the R eview + Create tab to review the configurations.

  11. Click Create at the bottom to complete the creation of the AKS Cluster.

AKS cluster deployment typically takes 15–25 minutes.

After the cluster is created, create a jump host (if required) and install the required dependencies on it or on your local Windows machine.

​


​

​

​

​


​