<p>I want to using prometheus in EKS on AWS fargate<br />
I follow this.<br />
<a href="https://aws.amazon.com/jp/blogs/containers/monitoring-amazon-eks-on-aws-fargate-using-prometheus-and-grafana/" rel="nofollow noreferrer">https://aws.amazon.com/jp/blogs/containers/monitoring-amazon-eks-on-aws-fargate-using-prometheus-and-grafana/</a><br />
but I can't create persistent volume claims.<br />
this is prometheus-storageclass.yaml.</p>
<pre><code>kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: prometheus
  namespace: prometheus
provisioner: kubernetes.io/aws-ebs
parameters:
  type: gp2
reclaimPolicy: Retain
mountOptions:
  debug
</code></pre>
<p>Can I Use aws-ebs in provisioner field?</p>
<pre><code>kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: prometheus-server
  namespace: prometheus
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 16Gi
  storageClassName: prometheus
</code></pre>
<p>I apply sc and pvc</p>
<p>When I apply the PVC, the PVC is still pending and I get the following message</p>
<p>Failed to provision volume with StorageClass &quot;prometheus&quot;: error finding candidate zone for pvc: no instances returned</p>

<p>I forgot to create the node group.</p>
<p>eksctl create nodegroup --cluster=myClusterName</p>
