Accessing the AKS Cluster

Steps to access the Kubernetes Cluster.

Connect to the cloud service using the steps in this section.

  1. Log in to the Linux instance and run the following command to connect your Base machine to the Kubernetes cluster.

    az aks get-credentials --resource-group <Name_of _Resource_group> --name <Name_of Kubernetes_Cluster>
    

    The Base machine is now connected with the Kubernetes cluster. You can now run commands using the Kubernetes command line interface (kubectl) to control the nodes on the Kubernetes cluster.

  2. Validate whether the cluster is up by running the following command.

    kubectl get nodes
    

    The command lists the Kubernetes nodes available in your cluster.


Last modified : February 18, 2026