gpt4 book ai didi

Azure 文件在 kubernetes 中授予权限被拒绝

转载 作者:行者123 更新时间:2023-12-03 04:21:30 24 4
gpt4 key购买 nike

我已为应用程序的 pod 配置了 azure 文件卷。当我尝试运行它时,它显示错误。

Warning FailedMount 0s (x7 over 32s) kubelet, aks-nodepool1-39499429-1 MountVolume.SetUp failed for volume "lhapidatasource" : mount failed: exit status 32

Output: mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

请帮忙

最佳答案

关于将Azure文件共享挂载到Azure k8s pod,请引用此answer .

注意:

  1. 需要基于 64 编码的 Azure 存储帐户和 key 。
  2. 将正确的文件共享名称写入 azure.yaml:

enter image description here

希望有帮助。

关于Azure 文件在 kubernetes 中授予权限被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48295199/

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