k8s pod created by statefulset is stuck in pending state, waiting for pvc bound

0

I am using an EKS fargate cluster and I think it might be an issue with EKS.

I created a statefulset with volumeClaimTemplates which bounds to pre-created PV.

The problem is the pod created by statefulset is stuck in pending state, waiting for PVC bound.

But the PVC is already bound with PV. So When I delete the pod, the pod is successfully mounted.

How can I solve this problem without manually deleting the pending pod?

pod event log

Events:
  Type     Reason            Age        From               Message
  ----     ------            ----       ----               -------
  Warning  FailedScheduling  <unknown>  fargate-scheduler  Pod not supported on Fargate: volumes not supported: efs-vol not supported because: PVC efs-vol-collector-relay-statefulset-0 not bound

質問済み 2年前209ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ