Access AKS Cluster

This section will guide you through getting access to your AKS cluster.

What You’ll Need

Procedure

  1. Download credentials and configure the Kubernetes client:

    root@rok-tools:~# az aks get-credentials \
    >    --resource-group ${AZ_RESOURCE_GROUP?} \
    >    --name ${CLUSTERNAME?}
    Merged "arrikto-cluster" as current context in /root/.kube/config
    

Verify

  1. Get the Kubernetes version and verify that your AKS cluster runs with Kubernetes 1.18.17:

    root@rok-tools:~# kubectl version
    Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.17", GitCommit:"f3abc15296f3a3f54e4ee42e830c61047b13895f", GitTreeState:"clean", BuildDate:"2021-01-13T13:21:12Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.17", GitCommit:"f00bd5fc5d1b9001e612847aa77f4e9c66758075", GitTreeState:"clean", BuildDate:"2021-03-22T23:03:44Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
    
  2. Get the list of nodes:

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

Summary

You have successfully configured access to your AKS cluster.

What’s Next

The next step is to add a user node pool to host Arrikto EKF workloads.