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.19.11:

    root@rok-tools:~# kubectl version
    Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.19", GitCommit:"ac0cc736d0018d817c763083945e4db863168d12", GitTreeState:"clean", BuildDate:"2021-05-12T11:29:07Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.11", GitCommit:"c18ff7bd5227b42c617cf371cf315d0423e91d5e", GitTreeState:"clean", BuildDate:"2021-05-25T17:38:04Z", GoVersion:"go1.15.12", 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.19.11
    aks-agentpool-42403446-vmss000001   Ready    agent   51m   v1.19.11
    

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.