<p>Here is the output I am getting:</p>
<pre><code>    [root@ip-10-0-3-103 ec2-user]# kubectl get pod --namespace=migration
    NAME                                          READY   STATUS    RESTARTS   AGE
    clear-nginx-deployment-cc77649fb-j8mzj        0/1     Pending   0          118m
    clear-nginx-deployment-temp-cc77649fb-hxst2   0/1     Pending   0          41s
</code></pre>
<p>Could not understand the message shown in json:</p>
<pre><code>*&quot;status&quot;: 
{
        &quot;conditions&quot;: [
            {
                &quot;message&quot;: &quot;0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.&quot;,

                &quot;reason&quot;: &quot;Unschedulable&quot;,
                &quot;status&quot;: &quot;False&quot;,
                &quot;type&quot;: &quot;PodScheduled&quot;
            }
        ],
        &quot;phase&quot;: &quot;Pending&quot;,
        &quot;qosClass&quot;: &quot;BestEffort&quot;
}*
</code></pre>
<p>If you could please help to get through this.
The earlier question on stackoverflow doesn't answer my query as my message output is different.</p>

<p>This is due to the fact that your Pods have been instructed to claim storage, however, in your case there is storage available.
Check your Pods with <code>kubectl get pods &lt;pod-name&gt; -o yaml</code> and look at the exact yaml that has been applied to the cluster. In there you should be able to see that the Pod is trying to claim a PersistentVolume (PV).</p>
<p>To quickly create a PV backed by a <code>hostPath</code> apply the following yaml:</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: stackoverflow-hostpath
  namespace: migration
spec:
  capacity:
    storage: 10Gi
  accessModes:
  - ReadWriteOnce
  hostPath:
    path: &quot;/mnt/data&quot;
</code></pre>
<p>Kubernetes will exponentially try to schedule the Pod again; to speed things up delete one of your pods (<code>kubectl delete pods &lt;pod-name&gt;</code>) to reschedule it immediately.</p>
