gpt4 book ai didi

amazon-web-services - 如何在PVC工作的情况下部署EFS-Provisioner

转载 作者:行者123 更新时间:2023-12-02 11:56:53 25 4
gpt4 key购买 nike

我已经按照efs-provisioner中概述的步骤成功部署了efs-provisioner

enter image description here

但是PVC卡在Pending State中,显示相同的消息:
waiting for a volume to be created, either by external provisioner "example.com/aws-efs" or manually created by system administrator

enter image description here

不能正确创建PVC的原因可能是什么?

最佳答案

该解决方案由ParaSwarm发布here描述

"...The quick fix is to give the cluster-admin role to the default service account. Of course, depending on your environment and security, you may need a more elaborate fix. If you elect to go the easy way, you can simply apply this:"


apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: default-admin-rbac (or whatever)
subjects:
- kind: ServiceAccount
name: default
namespace: default
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io

关于amazon-web-services - 如何在PVC工作的情况下部署EFS-Provisioner,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57078776/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com