title: No nodes available to schedule pods, using google container engine
body: <p>I'm having an issue where a container I'd like to run doesn't appear to be getting started on my cluster.</p>
  
  <p>I've tried searching around for possible solutions, but there's a surprising lack of information out there to assist with this issue or anything of it's nature.</p>
  
  <p>Here's the most I could gather:</p>
  
  <pre><code>$ kubectl describe pods/elasticsearch
  Name:               elasticsearch
  Namespace:          default
  Image(s):           my.image.host/my-project/elasticsearch
  Node:               /
  Labels:             &lt;none&gt;
  Status:             Pending
  Reason:             
  Message:            
  IP:             
  Replication Controllers:    &lt;none&gt;
  Containers:
    elasticsearch:
      Image:  my.image.host/my-project/elasticsearch
      Limits:
        cpu:      100m
      State:      Waiting
      Ready:      False
      Restart Count:  0
  Events:
    FirstSeen             LastSeen            Count   From   SubobjectPath    Reason          Message
    Mon, 19 Oct 2015 10:28:44 -0500   Mon, 19 Oct 2015 10:34:09 -0500 12  {scheduler }            failedScheduling    no nodes available to schedule pods
  </code></pre>
  
  <p>I also see this:</p>
  
  <pre><code>$ kubectl get pod elasticsearch -o wide
  NAME            READY     STATUS    RESTARTS   AGE       NODE
  elasticsearch   0/1       Pending   0          5s        
  </code></pre>
  
  <p>I guess I'd like to know: What prerequisites exist so that I can be confident that my container is going to run in container engine?  What do I need to do in this scenario to get it running?</p>
  
  <p>Here's my <code>yml</code> file:</p>
  
  <pre><code>apiVersion: v1
  kind: Pod
  metadata:
    name: elasticsearch
  spec:
    containers:
      - name: elasticsearch
        image: my.image.host/my-project/elasticsearch
        ports:
          - containerPort: 9200
  
    resources:
      volumeMounts:
        - name: elasticsearch-data
          mountPath: /usr/share/elasticsearch
    volumes:
      - name: elasticsearch-data
        gcePersistentDisk:
          pdName: elasticsearch-staging
          fsType: ext4
  </code></pre>
  
  <p>Here's some more output about my node:</p>
  
  <pre><code>$ kubectl get nodes
  NAME                                           LABELS                                                                STATUS
  gke-elasticsearch-staging-00000000-node-yma3   kubernetes.io/hostname=gke-elasticsearch-staging-00000000-node-yma3   NotReady
  </code></pre>