无法附加或安装卷:MountVolume.SetUp failed rpc error: code = DeadlineExceeded desc = context deadline exceeded

问题描述 投票:0回答:1

我已经按照步骤并从 AWS EKS 的官方doc 复制了相同的内容,以使用 EFS 安装卷。但是,面对以下错误。

Unable to attach or mount volumes: unmounted volumes=[persistent-storage], unattached volumes=[persistent-storage kube-api-access-29fgm]: timed out waiting for the condition
MountVolume.SetUp failed for volume "efs-pv" : rpc error: code = DeadlineExceeded desc = context deadline exceeded

这是 yaml 文件的 link。我已经尝试了很多天。非常感谢任何找出错误的帮助!!

amazon-web-services cloud devops amazon-eks kubernetes-pvc
1个回答
0
投票

验证与您的 EFS 文件系统和工作节点关联的安全组是否允许 NFS 流量

您的 AWS EFS 文件系统具有安全组。您需要更改安全组以允许 Pod 连接 EFS 文件系统。

参考链接 GitHub

© www.soinside.com 2019 - 2024. All rights reserved.