title: AWS EKS with Fargate pod status pending due to PersistentVolumeClaim not found
body: <p>I have deployed EKS cluster with Fargate and alb-ingress-access using the following command:</p>
  <pre><code>eksctl create cluster --name fargate-cluster --version 1.17 --region us-east-2 --fargate --alb-ingress-access
  </code></pre>
  <p>A Fargate namespace has also been created.</p>
  <p>The application being deployed has four containers namely mysql, nginx, redis and web.</p>
  <p>The YAML files have been applied to the correct namespace.</p>
  <p>The issue I am having is that after applying the YAML files when I get the pods status I the following status:</p>
  <pre><code>NAMESPACE     NAME                              READY   STATUS    RESTARTS   AGE
  flipkicks     flipkicksdb-7669b44bbb-xww26      0/1     Pending   0          112m
  flipkicks     flipkicksredis-74bbf9bd8c-p59hb   1/1     Running   0          112m
  flipkicks     nginx-5b46fd5977-9d8wk            0/1     Pending   0          112m
  flipkicks     web-56666f5d8-64w4d               1/1     Running   0          112m
  </code></pre>
  <p>MySQL and Nginx pods go into pending status. The deployment YAML for both have the following volumeMounts values:</p>
  <p>MYSQL</p>
  <pre><code>volumeMounts:
          - mountPath: /var/lib/mysql
            name: mysql-db
  </code></pre>
  <p>NGINX</p>
  <pre><code>volumeMounts:
          - mountPath: &quot;/etc/nginx/conf.d&quot;
            name: nginx-conf
          - mountPath: &quot;/var/www/html&quot;
            name: admin-panel
  </code></pre>
  <p>The output from the events part of the kubectl describe command for both pods is:</p>
  <p>MYSQL</p>
  <pre><code>Events:
  Type     Reason            Age        From               Message
  ----     ------            ----       ----               -------
  Warning  FailedScheduling  &lt;unknown&gt;  fargate-scheduler  Pod not supported on Fargate: volumes not supported: mysql-db not supported because: PVC mysql-db not bound
  </code></pre>
  <p>NGINX</p>
  <pre><code>Events:
  Type     Reason            Age        From               Message
  ----     ------            ----       ----               -------
  Warning  FailedScheduling  &lt;unknown&gt;  fargate-scheduler  Pod not supported on Fargate: volumes not supported: admin-panel is of an unsupported volume Type
  </code></pre>
  <p>Would really appreciate any help in understanding this problem and how to resolve it.</p>