<p>I have a Kubernetes up and running on AWS working correctly.</p>

<p>I'm trying to deploy this <a href="https://github.com/mikechernev/dockerised-php" rel="nofollow noreferrer">sample application</a>. I can run the project locally with <code>docker-compose up</code> without any issue</p>

<p>I used <a href="https://github.com/kubernetes-incubator/kompose" rel="nofollow noreferrer">https://github.com/kubernetes-incubator/kompose</a> to deploy it on Kubernetes. It worked but when I checked the pods I have the following error:</p>

<blockquote>
  <p>[SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "web-claim0", which is unexpected., SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "web-claim0", which is unexpected., SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "web-claim0", which is unexpected.]</p>
</blockquote>

<p>I would like to share a volume between the 2 containers without setting up <code>aws-ebs</code>. Is it possible? I'd like to start with the simplest volume share as possible.</p>

<p>here is the volume configuration</p>

<hr>

<pre><code>Persistent Volume Claim     {5}

kind    :   PersistentVolumeClaim

apiVersion  :   v1

    metadata        {6}

name    :   web-claim1

namespace   :   default

selfLink    :   /api/v1/namespaces/default/persistentvolumeclaims/web-claim1

uid :   a94c38da-de18-11e6-84b6-027fd28089d4

resourceVersion :   296178

creationTimestamp   :   2017-01-19T07:26:58Z

    spec        {2}

    accessModes     [1]

0   :   ReadWriteOnce

    resources       {1}

    requests        {1}

storage :   100Mi

    status      {1}

phase   :   Pending
</code></pre>

<p>I think I was quite confused by how it works so it was difficult for anybody to answer. I'm just going to give a couple of hints.</p>

<ol>
<li>Don't learn Kompose and just learn Kubernetes</li>
<li>The root cause of the problem was I didn't created the volumes on EBS first</li>
</ol>
