title: Warning in EKS , Pod FailedScheduling with message 0/6 nodes are available 6 pod has unbound immediate PersistentVolumeClaims and pod in Pending state
body: <p>I try to Create EFS file system using terraform AWS CDK. this security group id is attachted with eks cluster. In here i create a kubernetes cluster. and after then i tried to attach efs file system but its do not play properly.
  after installing efs csi dtiver, icreated storage class and pvc and a pod but pos stay in pending state.</p>
  <blockquote>
  <p>In pod getting 2 warning like,</p>
  <ol>
  <li><p><em>MountVolume.SetUp failed for volume &quot;efs-pv&quot; : rpc error: code = DeadlineExceeded desc = context deadline exceeded</em></p>
  </li>
  <li><p><em>Unable to attach or mount volumes: unmounted volumes=[efs-storage], unattached volumes=[kube-api-access-zfjzj
  efs-storage]: timed out waiting for the condition</em></p>
  </li>
  </ol>
  </blockquote>
  <p>and in PVC,</p>
  <blockquote>
  <p><em>waiting for a volume to be created, either by external provisioner
  &quot;efs.csi.aws.com&quot; or manually created by system administrator</em></p>
  </blockquote>
  <p>here i provide my storage class and pod creation example,</p>
  <ol>
  <li><a href="https://curl%20-o%20storageclass.yaml%20https://raw.githubusercontent.com/kubernetes-sigs/aws-efs-csi-driver/master/examples/kubernetes/dynamic_provisioning/specs/storageclass.yaml" rel="nofollow noreferrer">storage class referance.</a></li>
  <li><a href="https://curl%20-o%20pod.yaml%20https://raw.githubusercontent.com/kubernetes-sigs/aws-efs-csi-driver/master/examples/kubernetes/dynamic_provisioning/specs/pod.yaml" rel="nofollow noreferrer">pod reference</a></li>
  </ol>
  <p>I also try it manually according to aws guide (<a href="https://docs.aws.amazon.com/eks/latest/userguide/efs-csi.html" rel="nofollow noreferrer">here</a>) but efs pod not working properly.</p>
  <p>I already pass more then 7 days in this issue. if anyone help me to resolve me this issues, i will be glad. Thank you.</p>
  <p>Here is My Code:</p>
  <pre><code>    SecurityGroup securityGroup = SecurityGroup.Builder.create (this, securityGroupClusterName)
              .name (securityGroupClusterName)
              .description (&quot;cluster security group&quot;)
              .vpcId (vpc.getId ())
              .egress (List.of (SecurityGroupEgress.builder ()
                      .cidrBlocks (Collections.singletonList (&quot;0.0.0.0/0&quot;))
                      .fromPort (0)
                      .toPort (0)
                      .protocol (&quot;-1&quot;)
                      .build ()))
              .build ();
      SecurityGroup securityGroupForEfs = SecurityGroup.Builder.create (this, securityGroupClusterName + &quot;efs&quot;)
              .name (securityGroupClusterName + &quot;efs&quot;)
              .description (&quot;cluster security group&quot;)
              .vpcId (vpc.getId ())
              .ingress (List.of (SecurityGroupIngress.builder ()
                      .securityGroups (List.of (securityGroup.getId ()))
                      .fromPort (2049)
                      .toPort (2049)
                      .protocol (&quot;tcp&quot;)
                      .build ()))
              .egress (List.of (SecurityGroupEgress.builder ()
                      .securityGroups (List.of (securityGroup.getId ()))
                      .fromPort (0)
                      .toPort (0)
                      .protocol (&quot;-1&quot;)
                      .build ()))
              .build ();
  
  
      EfsFileSystem fileSystem = EfsFileSystem.Builder.create (this, &quot;efs-file-system&quot;)
              .creationToken (&quot;fs-&quot; + CommonUtils.getUniqueID ())
              .encrypted (true)
              .performanceMode (&quot;generalPurpose&quot;)
              .throughputMode (&quot;bursting&quot;)
              .tags (Map.of (&quot;Name&quot;, &quot;file-system-&quot; + CommonUtils.getUniqueID ()))
              .build ();
  
      EfsMountTarget.Builder.create (this, &quot;efs-mount-&quot; + CommonUtils.getUniqueID ())
              .fileSystemId (fileSystem.getId ())
              .subnetId (subnetPublicZoneA.getId ())
              .securityGroups (List.of (securityGroupForEfs.getId ()))
              .build ();
  
      EfsMountTarget.Builder.create (this, &quot;efs-mount-&quot; + CommonUtils.getUniqueID ())
              .fileSystemId (fileSystem.getId ())
              .securityGroups (List.of (securityGroupForEfs.getId ()))
              .subnetId (subnetPublicZoneB.getId ())
              .build ();
  
      EfsMountTarget.Builder.create (this, &quot;efs-mount-&quot; + CommonUtils.getUniqueID ())
              .fileSystemId (fileSystem.getId ())
              .securityGroups (List.of (securityGroupForEfs.getId ()))
              .subnetId (subnetPublicZoneC.getId ())
              .build ();
  
      EfsAccessPoint.Builder.create (this, &quot;efs-access-point&quot;+ CommonUtils.getUniqueID ())
              .fileSystemId (fileSystem.getId ())
              .build ();
  </code></pre>