在 Gcp 中使用 helm 安装 ibm mq chart,在创建 pod 时出错 "Creashloopbackoff"

Installation of ibm mq chart using helm in Gcp,created a error during pod creation "Creashloopbackoff"

IBM Mq Helm 图表安装无法创建 Pod,显示“Crashloop Backoff 错误”。 Pod 错误消息: mkdir /mnt/mqm/data: 权限被拒绝。基础架构:Google 云平台,Kubectl 版本:客户端版本:v1.18.6 服务器版本:v1.16.13-gke.1。 helm 图表:helm repo 添加 ibm-charts https://raw.githubusercontent.com/IBM/charts/master/repo/stable/

这看起来像是已安装卷的权限问题。您可以尝试通过在执行 helm 安装时添加以下附加参数来解决此问题: 在 CLI 上:--set security.initVolumeAsRoot=true 在 UI 上:Select initVolumeAsRoot

的 check-box

这将允许 init-container 以 root 身份 运行 并设置文件系统,然后队列管理器可以使用它。