首页 > 解决方案 > Openshift 卷挂载权限错误

问题描述

我在我的 Openshift 部署中使用共享卷 EFS。该卷显示的组权限较低

drwxr-xr-x。2 根根 6144 Oct 21 04:33 事件。

我已经设置了补充组

  securityContext:
    supplementalGroups:
    - 5555

kubectl exec -it pod/app-599b696b46-hkv6b -n appr -- bash

bash-4.2$ id uid=1000940000(1000940000) gid=0(root) groups=0(root), 5555 ,1000940000

EFS接入点也设置了正确的权限 在此处输入图像描述

我仍然有相同的权限错误..对此的任何帮助都非常感谢...

标签: openshift

解决方案


推荐阅读