title: Number limit by PODS in the same node on GKE
body: <p>I'm trying to lift many containers in a large instance of Google Cloud with Container Engine.</p>
  
  <p>I detect that only 104 containers are raised in the same node, the rest are pending with the following error with a describe command: <strong>kubectl describe po nginx-2243550509-nd1z7</strong></p>
  
  <pre><code>  FirstSeen     LastSeen        Count   From                    SubobjectPath   Type            Reason                  Message
      ---------     --------        -----   ----                    -------------   --------        ------                  -------
      5m            5m              1       {default-scheduler }                    Warning         FailedScheduling        no nodes available to schedule pods
      7m            20s             27      {default-scheduler }                    Warning         FailedScheduling        pod (nginx-2243550509-nd1z7) failed to fit in any node
  </code></pre>
  
  <p>Is this a limitation of GKE?</p>
  
  <p>Is it impossible to lift more containers per instance?</p>
  
  <p>Can you specify the internal IP range of containers on each node? (not the global IP range in the cluster)</p>
  
  <p>I have the suspicion that only a /24 is allowed at each node.</p>
  
  <p>That makes me think that the limitation could be 255 per node.</p>
  
  <p>--</p>
  
  <p>The test was done with the image <strong>container-vm</strong> (Debian 7) and <strong>GCI</strong> (Chromium OS).</p>
  
  <p>The same limitation has also been observed with versions 1.5.1 and 1.4.7 of Kubernetes</p>
  
  <p>--</p>
  
  <p><strong>UPDATE:</strong> </p>
  
  <p>Seems a default limitation of the kubelet that is in each node, and I suppose that in GKE will be of 110 by default.</p>
  
  <p><a href="http://kubernetes.io/docs/admin/kubelet/" rel="noreferrer">http://kubernetes.io/docs/admin/kubelet/</a></p>
  
  <pre><code>--max-pods int32     Number of Pods that can run on this Kubelet. (default 110)
  </code></pre>
  
  <p>Is it possible to modify this value in GKE in some way to use the entire available IP range?</p>
  
  <p>Supposedly on /24 range.</p>