k8s对接cephfs文件系统,pvc创建不成功
Waiting for a volume to be created either by the external provisioner 'cephfs.csi.ceph.com' or manually by the system administrator.
[root@k8sm1 ~]# kubectl describe pvc test-pvc-2
Name: test-pvc-2
Namespace: default
StorageClass: csi-cephfs-sc
Status: Pending
Volume:
Labels: <none>
Annotations: volume.beta.kubernetes.io/storage-provisioner: cephfs.csi.ceph.com
volume.kubernetes.io/storage-provisioner: cephfs.csi.ceph.com
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 3m17s cephfs.csi.ceph.com_csi-cephfsplugin-provisioner-55fccddbfd-qnjwx_a1629f33-e1d2-4c41-910f-a704c0f5673c External provisioner is provisioning volume for claim "default/test-pvc-2"
Normal ExternalProvisioning 10s (x15 over 3m17s) persistentvolume-controller Waiting for a volume to be created either by the external provisioner 'cephfs.csi.ceph.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
[root@k8sm1 ~]# kubectl describe pvc test-pvc-2
Name: test-pvc-2
Namespace: default
StorageClass: csi-cephfs-sc
Status: Pending
Volume:
Labels: <none>
Annotations: volume.beta.kubernetes.io/storage-provisioner: cephfs.csi.ceph.com
volume.kubernetes.io/storage-provisioner: cephfs.csi.ceph.com
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 3m47s cephfs.csi.ceph.com_csi-cephfsplugin-provisioner-55fccddbfd-qnjwx_a1629f33-e1d2-4c41-910f-a704c0f5673c External provisioner is provisioning volume for claim "default/test-pvc-2"
Normal ExternalProvisioning 10s (x17 over 3m47s) persistentvolume-controller Waiting for a volume to be created either by the external provisioner 'cephfs.csi.ceph.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.