我部署了 efs-provisioner 以将 k8s 中的 aws-efs 挂载为 pvc。然后我在创建 pvc 时收到“没有卷插件匹配”错误。
$ kubectl describe pvc efs -n dev
Name: efs
Namespace: dev
StorageClass: aws-efs
Status: Pending
Volume:
Labels: <none>
Annotations: volume.beta.kubernetes.io/storage-class=aws-efs
Capacity:
Access Modes:
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
32m 2m 21 persistentvolume-controller Warning ProvisioningFailed no volume plugin matched
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: aws-efs
provisioner: kubernetes.io/aws-efs
efs-provisioner-dep.yml 在https://raw.githubusercontent.com/kubernetes-incubator/external-storage/master/aws/efs/deploy/deployment.yaml