<p>I followed the steps from <code>AWS</code> knowledge base to create persistent storage: <a href="https://aws.amazon.com/premiumsupport/knowledge-center/eks-persistent-storage/" rel="noreferrer">Use persistent storage in Amazon EKS</a></p>
<p>Unfortunately, <code>PersistentVolume</code>(PV) wasn't created:</p>
<pre><code>kubectl get pv
No resources found
</code></pre>
<p>When I checked the PVC logs, I'm getting the following  provisioning failed message:</p>
<pre><code>storageclass.storage.k8s.io &quot;ebs-sc&quot; not found

failed to provision volume with StorageClass &quot;ebs-sc&quot;: rpc error: code = DeadlineExceeded desc = context deadline exceeded
</code></pre>
<p>I'm using <code>Kubernetes v1.21.2-eks-0389ca3</code></p>
<hr />
<p>Update:</p>
<p>The storageclass.yaml used in the example has provisioner set to ebs.csi.aws.com</p>
<pre><code>kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: ebs-sc
provisioner: ebs.csi.aws.com
volumeBindingMode: WaitForFirstConsumer
</code></pre>
<p>When I updated it using @gohm'c answer, it created a pv.</p>
<pre><code>apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: ebs-sc
provisioner: kubernetes.io/aws-ebs
parameters:
  type: gp2
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
</code></pre>

<pre><code>storageclass.storage.k8s.io &quot;ebs-sc&quot; not found

failed to provision volume with StorageClass &quot;ebs-sc&quot;
</code></pre>
<p>You need to create the storage class &quot;ebs-sc&quot; after EBS CSI driver is installed, example:</p>
<pre><code>cat &lt;&lt; EOF | kubectl apply -f -
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: ebs-sc
provisioner: ebs.csi.aws.com
parameters:
  type: gp3
reclaimPolicy: Retain
volumeBindingMode: WaitForFirstConsumer
EOF
</code></pre>
<p>See <a href="https://kubernetes.io/docs/concepts/storage/storage-classes/" rel="nofollow noreferrer">here</a> for more options.</p>
