<p>All,</p>
<p>Is there a way to find the nodes associated with Persistent Volume Claim.</p>
<p><strong>&gt; kubectl get pvc -n namespace</strong></p>
<p>gives me the list of Persistent Volume Claims. But I need the node also to which each of the Claim is associated with.</p>
<p>Even describing the PVC does not give me the node</p>
<blockquote>
<p><strong>kubectl describe pvc pvcname -n namespace</strong></p>
</blockquote>
<p>Thanks,<br />
grajee</p>

<ul>
<li>whenever PVC is used by a POD , kubernetes creates a object called <code>volumeattachment</code> which contains the node information where the pvc is attached.</li>
</ul>
<pre><code>   - kubectl get volumeattachements | grep &lt;pv name&gt; // to get the volumeattachment name
   - kubectl describe volumeattachment &lt;volumeattachment name from above command&gt; | grep -i 'node name'
</code></pre>
