Max*_*and 5 encrypting-file-system amazon-ec2 amazon-web-services kubernetes amazon-eks
我目前正在尝试创建 EFS 以在 EKS 集群中使用。我已按照所有说明进行操作,并且大部分情况下似乎一切正常。但是,当尝试从此处应用 multiple_pods 示例部署时,pod 无法成功挂载文件系统。PV 和 PVC 都绑定并且看起来不错,但是 pod 没有启动并产生以下错误消息:
Warning FailedMount 116s (x10 over 6m7s) kubelet, ip-192-168-42-94.eu-central-1.compute.internal MountVolume.SetUp failed for volume "efs-pv" : kubernetes.io/csi: mounter.SetupAt failed: rpc error: code = Internal desc = Could not mount "fs-080b8b50:/" at "/var/lib/kubelet/pods/3f7c898d-c3de-42e7-84e5-bf3b56e691ea/volumes/kubernetes.io~csi/efs-pv/mount": mount failed: exit status 1
Mounting command: mount
Mounting arguments: -t efs fs-080b8b50:/ /var/lib/kubelet/pods/3f7c898d-c3de-42e7-84e5-bf3b56e691ea/volumes/kubernetes.io~csi/efs-pv/mount
Output: Traceback (most recent call last):
File "/sbin/mount.efs", line 1375, in <module>
main()
File "/sbin/mount.efs", line 1355, in main
bootstrap_logging(config)
File "/sbin/mount.efs", line 1031, in bootstrap_logging
raw_level = config.get(CONFIG_SECTION, 'logging_level')
File "/lib64/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'mount'
Warning FailedMount 110s (x2 over 4m4s) kubelet, ip-192-168-42-94.eu-central-1.compute.internal Unable to attach or mount volumes: unmounted volumes=[persistent-storage], unattached volumes=[persistent-storage default-token-d47s9]: timed out waiting for the condition
Run Code Online (Sandbox Code Playgroud)
对我来说,错误看起来可能与我的配置无关,但是由于我希望 AWS 的示例部署能够正常工作,我对此表示怀疑。我既不熟悉 python 的 ConfigParser 也不熟悉 EFS,所以我只能猜测该错误的真正含义。非常感谢您的帮助!
小智 5
面临类似的问题。
amazon/aws-efs-csi-driver:v0.3.0通过将 efs-csi-node daemonset 从映像更新为amazon/aws-efs-csi-driver:latest
| 归档时间: |
|
| 查看次数: |
2842 次 |
| 最近记录: |