【问题标题】:Installation of ibm mq chart using helm in Gcp,created a error during pod creation "Creashloopbackoff"在 Gcp 中使用 helm 安装 ibm mq 图表,在创建 pod 时出错“Creashloopbackoff”
【发布时间】:2020-11-30 00:25:19
【问题描述】:

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

【问题讨论】:

  • 尝试在 Helm 值中将 security.initVolumeAsRoot 设置为 true

标签: kubernetes google-cloud-platform google-kubernetes-engine ibm-mq kubernetes-helm


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 2020-12-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-13
    • 2020-01-24
    • 1970-01-01
    • 2020-02-19
    • 2021-05-07
    • 1970-01-01
    相关资源
    最近更新 更多