Unable to connect to azure kubernetes cluster with kubectl

3/8/2018

I am following the instructions on Microsoft's webpage: https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough

I have created a cluster on Azure using "az aks create ...". I am able to fetch the credentials via "az aks get-credentials...".

But, when I use "kubectl get nodes", it says: "Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it."

-- Telluride Steve
azure
azure-container-service
kubernetes

0 Answers