<p>I created an aks cluster using az aks create command with kubenet network and 2 nodes. Due to permissions issue in the AD account, the NSG had to be switched off before running the aks create command.  After the AKS cluster created successfully, the NSG was reapplied. </p>

<p>In order to check the health of the newly created cluster, when I run:</p>

<pre><code>kubectl get nodes --all-namespaces; 
</code></pre>

<p>there are no nodes returned. 
However, when I look into the azure portal and the corresponding vNet, there are 2vmss created using the ips within the subnet range. 
When I run:</p>

<pre><code>kubectl get pods --all-namespaces;
</code></pre>

<p>all pods are in pending state:</p>

<pre><code>NAMESPACE     NAME                                   READY   STATUS    RESTARTS   AGE
kube-system   coredns-xxxxdxxxxx-xxxxx               0/1     Pending   0          5h
kube-system   coredns-autoscaler-xxdxxxxxxxx-xxxx    0/1     Pending   0          5h
kube-system   kubernetes-dashboard-xxdxxxxxx-xxxxx   0/1     Pending   0          5h
kube-system   metrics-server-xxxxxxxdxx-xxxx         0/1     Pending   0          5h
kube-system   omsagent-rs-xxxxxxxxdx-xxxxx           0/1     Pending   0          5h
kube-system   tiller-deploy-xxxxxxxdxxx-xxxx         0/1     Pending   0          34m
kube-system   tunnelfront-xxxxxxxdx-xxxxx            0/1     Pending   0          5h
</code></pre>

<p>I then did a describe on the coredns pod:</p>

<pre><code>kubectl describe pod coredns-xxxxxxxxxx-xxxx -n kube-system
</code></pre>

<blockquote>
  <p>Warning  FailedScheduling  2m40s (x2242 over 2d5h)  default-scheduler 
  no nodes available to schedule pods</p>
</blockquote>

<p>I need to deploy some containers using helm/tiller and when I run the installation commands I get the error</p>

<blockquote>
  <p>Error: could not find a ready tiller pod</p>
</blockquote>

<p>I know this is not directly to do with helm/tiller installation, the issue may be a bit more deeper. </p>

<p>I am new to Kubernetes, any thoughts on how to diagnose the issue will be much appreciated. </p>

jack
<p>if no nodes are returned from <code>kubectl get nodes</code> I'd suggest recreating the cluster, since if there are no nodes - no pods can ever run on this cluster. you might try and upgrade the cluster to a newer version of kubernetes (this would effectively redeploy the nodes), that might help.</p>
