<p>I configuring kubernetes to have 3 images (my API, Elastic Search and Kibana)</p>

<p>Here is my <code>deployment.yml</code> file</p>

<pre><code> apiVersion: apps/v1
kind: Deployment
metadata:
  name: tooseeweb-deployment
spec:
  selector:
    matchLabels:
      app: tooseeweb-pod
  template:
    metadata:
      labels:
        app: tooseeweb-pod
    spec: 
      containers:
      - name: tooseewebcontainer
        image: tooseewebcontainer:v1
        resources:
          limits:
            memory: "128Mi"
            cpu: "500m"
        ports:
        - containerPort: 80
      - name: elasticsearch
        image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
        resources:
          limits:
            memory: "128Mi"
            cpu: "500m"
        ports:
        - containerPort: 9200
      - name: kibana
        image: docker.elastic.co/kibana/kibana:6.2.4
        resources:
          limits:
            memory: "128Mi"
            cpu: "500m"
        ports:
        - containerPort: 5601
</code></pre>

<p>When I run <code>kubectl get deployments</code> I see this</p>

<p><a href="https://i.stack.imgur.com/RbDgC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RbDgC.png" alt="enter image description here"></a></p>

<p>It's stuck on 0/1 ready. I try to reboot docker, etc. It not helps. How I can fix this?</p>

<p><strong>UPDATE</strong></p>

<p>I run <code>kubectl describe pod</code> and have this error</p>

<pre><code>Warning  FailedScheduling  19s   default-scheduler  0/1 nodes are available: 1 Insufficient cpu.
</code></pre>

<p>How I can fix this?</p>

Eugene Sukh
<p>Remove these resource limits in every pods. </p>

<pre><code>resources:
   limits:
      memory: "128Mi"
      cpu: "500m"
</code></pre>

<p>If you want to limit the resources do it later after applying once the deployment successfully.</p>
