在扩展PVC(kubectl edit pvc csi-expand-pvc)时,我得到了以下错误,我不知道为什么,
Event occurred" object="default/csi-expand-pvc" kind="PersistentVolumeClaim" apiVersion="v1" type="Warning" reason="ExternalExpanding" message="Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.这是我的PVC的规格。
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: csi-expand-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
storageClassName: ab-storage
#kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
csi-expand-pvc Bound pvc-675765658 100Gi RWO ab-storage 33m功能门ExpandInUsePersistentVolumes,ExpandCSIVolumes已启用.在存储类中,allowVolumeExpansion也设置为true。
setup details
kubeadm version: &version.Info{Major:"1", Minor:"23", GitVersion:"**v1.23.5**", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:57:37Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}
quay.io/k8scsi/csi-provisioner:v2.1.2
quay.io/k8scsi/csi-attacher:v3.1.0
quay.io/k8scsi/csi-snapshotter:v4.0.0
quay.io/k8scsi/csi-resizer:v1.1.0发布于 2022-04-13 07:17:59
根据上面的错误,它说现有的存储供应器无法扩展pvc。
从pvc正在使用的存储类的描述中检查存储提供程序的详细信息。
然后检查当前提供程序是否具有扩展卷的能力。
https://stackoverflow.com/questions/71853181
复制相似问题