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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容