Create User Node Pool

In this section you will add a user node pool to your AKS cluster. This will host all Arrikto EKF related workloads.

What You’ll Need

Procedure

To create the user node pool:

  1. Sign in to the Azure portal.

  2. Search for Kubernetes services and select the AKS cluster you previously created, arrikto-cluster.

  3. On the sidebar, under Settings, click Node pools.

  4. Click Add node pool and:

    • Set Node pool name to workers.
    • Set Mode to User.
    • Set OS type to Linux.
    • Set Availabitity zones to Zone 1.
    • Set Node size to L8s_v2 (8 vCPU, 64G RAM, 1.8T NVMe).
    • Set Node count to 3.
    • Set Max nodes per node to 250, which is the max supported for Azure CNI.
    ../../../_images/nodepool.png ../../../_images/nodepool-size.png
  5. Click Review + create and then Create.

  6. Wait for Azure to provision your user node pool.

  7. Switch to your management environment and taint the system node pool, so that application pods are scheduled only on the newly created user node pool:

    root@rok-tools:~# kubectl taint node \
    >    -l kubernetes.azure.com/mode=system \
    >    CriticalAddonsOnly=true:NoSchedule
    

Verify

  1. Verify that the node pool exists and ProvisioningState is succeeded:

    root@rok-tools:~# az aks nodepool list -o table \
    >    --resource-group ${AZ_RESOURCE_GROUP} \
    >    --cluster-name ${CLUSTERNAME}
    Name       OsType    VmSize           Count    MaxPods    ProvisioningState    Mode
    ---------  --------  ---------------  -------  ---------  -------------------  ------
    agentpool  Linux     Standard_DS2_v2  2        110        Succeeded            System
    workers    Linux     Standard_L8s_v2  2        250        Succeeded            User
    
  2. Verify that the nodes show up in the Kubernetes cluster:

    root@rok-tools:~# kubectl get nodes
    NAME                                STATUS   ROLES   AGE     VERSION
    aks-agentpool-42403446-vmss000000   Ready    agent   34m     v1.18.17
    aks-agentpool-42403446-vmss000001   Ready    agent   34m     v1.18.17
    aks-workers-42403446-vmss000000     Ready    agent   9m45s   v1.18.17
    aks-workers-42403446-vmss000001     Ready    agent   9m45s   v1.18.17
    

Summary

You have successfully created a user node pool to host Arrikto EKF workloads.

What’s Next

The next step is to verify that your nodes have the necessary local storage for Rok to use.