<p>I use NFS in kubernetes cluster.</p>
<p>Now, I create 5 PVCs in with the same StorageClass <strong>successfully</strong>, and each PVC claims uses 100G. so a total of 500G.</p>
<p>Q: Why can I create 5 PVCs?</p>
<p>NFS provides 300G physical storage actually.</p>
<p>Q: What happens if a PVC actually occupies more than its declared request(100G&lt;pvc&lt;300G)?</p>

<blockquote>
<p>Q: Why can I create 5 PVCs?</p>
</blockquote>
<p>You might want to check 👀 the <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/" rel="nofollow noreferrer">PVs</a> allocated (Persistent Volumes). You can create a PVC but it doesn't mean that the PV will get allocated. A PVC is a Persistent Volume <strong>Claim</strong> but it doesn't mean you always get it.</p>
<pre class="lang-sh prettyprint-override"><code>kubectl get pv --all-namespaces
</code></pre>
<blockquote>
<p>Q: What happens if a PVC actually occupies more than its declared request(100G&lt;pvc&lt;300G)?</p>
</blockquote>
<p>If the combined PVs exceed 300G well you won't be able to store passed that in your case.</p>
<p>If for some reason you have PVs that exceed your total space, you might actually have a bug (❓)</p>
<p>✌️</p>
