Skip to content

CSI takes so long to create volumeattachment #1257

@m-niak

Description

@m-niak

TL;DR

When I Deploy a statefulset that includes multiple pvcs like postgresql , CSI creates volumes on the panel but
takes so long to attach it to the related worker because it does not create volumeattachment resource instantly.
kubectl get volumeattachment

k8s version 1.34.2

csiAttacher:
  name: registry.k8s.io/sig-storage/csi-attacher
  tag: v4.10.0 

csiNodeDriverRegistrar:
  name: registry.k8s.io/sig-storage/csi-node-driver-registrar
  tag: v2.15.0

Expected behavior

kubectl get pvc
shows all pvcs bound

Observed behavior

kubectl get pvc

pending

Minimal working example

No response

Log output


Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions