<p>I want to create PV&amp;PVC and the PV is not created , can you please advice what am I doing wrong?</p>
<pre><code>apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: my-sc
provisioner: kubernetes.io/aws-ebs
parameters:
  type: io1
  iopsPerGB: &quot;100&quot;
  fsType: ext4
volumeBindingMode: WaitForFirstConsumer
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: my-pvc
  namespace: myns
spec:
  storageClassName: io1
  volumeName: my-sc
  accessModes: [ReadWriteOnce]
  resources:
    requests:
      storage: 100Gi
</code></pre>
<p>The issue is that the PV is not created...what am I doing wrong?</p>

PJEM
<p>Your StorageClass is named <code>my-sc</code></p>
<p>Your PersistentVolumeClaim has its <code>spec.storageClassName</code> set to <code>io1</code>.</p>
<p>It should match an existing StorageClass name (<code>my-sc</code>).</p>
<p>You should delete your PVC, and re-create it with the proper storageClassName.</p>
