PVC stopped mounting

0

Good afternoon!

We are facing this problem, we are trying to create in Kubernetes (not EKS) a volume via storage class (provisioner: ebs.csi.aws.com) , volume is created but not attached to workers Could you help me with the solution of the problem?

We start to have this problem suddenly few days ago after service restart (before few years everything was OK). Here some logs from Kubernetes events:

"Multi-Attach error for volume "pvc-##########" Volume is already exclusively attached to one node and can't be attached to another"

"Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[kube-api-access-#### data config]: timed out waiting for the condition"

Kubernetes Version 1.21.14

Description of Storage Class:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: gp2
  labels:
    app: ebs-csi-driver
    app.kubernetes.io/managed-by: Helm
    heritage: deckhouse
    module: cloud-provider-aws
  annotations:
    meta.helm.sh/release-name: cloud-provider-aws
    meta.helm.sh/release-namespace: d8-system
    storageclass.kubernetes.io/is-default-class: 'true'
  selfLink: /apis/storage.k8s.io/v1/storageclasses/gp2
provisioner: ebs.csi.aws.com
parameters:
  type: gp2
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer
Nadyka
質問済み 8ヶ月前220ビュー
回答なし

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

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

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

関連するコンテンツ