<p>My goal is to attach a dynamic volume claim to a deployment on EKS cluster, I am using this tutorial
<a href="https://aws.amazon.com/blogs/storage/persistent-storage-for-kubernetes/" rel="nofollow noreferrer">https://aws.amazon.com/blogs/storage/persistent-storage-for-kubernetes/</a></p>
<p>My manifests are storage class, volume claim and a deployment : ( Same as from tutorial)</p>
<pre class="lang-yaml prettyprint-override"><code>kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: efs-sc
provisioner: efs.csi.aws.com
parameters:
  provisioningMode: efs-ap
  fileSystemId: fs-XXXX
  directoryPerms: &quot;700&quot;
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: efs-claim-1
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: efs-sc
  resources:
    requests:
      storage: 5Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
  name: debug-app
spec:
  replicas: 1
  selector:
    matchLabels:
      component: debug-app
  template:
    metadata:
      labels:
        app: debug-app
        component: debug-app
    spec:
      containers:
      - image: ubuntu:20.04
        imagePullPolicy: IfNotPresent
        name: debug-app
        command: [&quot;/bin/sh&quot;,&quot;-c&quot;]
        args: 
          - sleep 3650d
        #command: [&quot;/bin/sh&quot;,&quot;-c&quot;, &quot;sleep 365d&quot;]
        ports:
        - containerPort: 8000
        resources:
          limits:
            cpu: 2
            memory: 4Gi
          requests:
            cpu: 10m
            memory: 16Mi
        volumeMounts:
        - name: persistent-storage
          mountPath: /data
      volumes:
      - name: persistent-storage
        persistentVolumeClaim:
          claimName: efs-claim-1
</code></pre>
<p>Storage class is well created, but</p>
<pre class="lang-bash prettyprint-override"><code>NAME     PROVISIONER       RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
efs-sc   efs.csi.aws.com   Delete          Immediate           false                  5m17s
</code></pre>
<p>persistent volume claim is on <code>pending</code> state with the following description</p>
<pre><code>Events:
  Type     Reason                Age                     From                         Message
  ----     ------                ----                    ----                         -------
  Normal   ExternalProvisioning  2m18s (x17 over 6m18s)  persistentvolume-controller  waiting for a volume to be created, either by external provisioner &quot;efs.csi.aws.com&quot; or manually created by system administrator
</code></pre>
<p>It's clear the efs storage can't create the persisted volume, I went back and tried with newly created efs storage following
<a href="https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html</a></p>
<p>But the same issue persisted,</p>
<p>Any possible fixes here please?
Thanks</p>
<p>PS: Just mentioning here, I'm using no Fargate Profile</p>

Reda E.
<blockquote>
<p>I went back and tried with newly created efs storage following <a href="https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html</a></p>
</blockquote>
<p>But you didn't install the <a href="https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html#efs-install-driver" rel="nofollow noreferrer">driver</a>. Hence you get <code>...waiting for a volume to be created, either by external provisioner &quot;efs.csi.aws.com&quot;</code>.</p>
