Readiness probe failed in helm chart installation

我目前正在使用 helm charts 安装 Discourse。这里的部署是通过 Terraform 完成的,但我希望这是可以理解的。

resource "helm_release" "discourse" {
  name             = "discourse"
  namespace        = "discourse"
  create_namespace = true
  repository       = "https://charts.bitnami.com/bitnami"
  chart            = "discourse"

  version = "8.0.4"

  set {
    name = "auth.email"
    value = "test@test.com"
  }

  set {
    name = "auth.username"
    value = "user"
  }

  set {
    name = "auth.password"
    value = "abcd1234"
  }

  set {
    name = "ingress.enabled"
    value = true
  }

  set {
    name = "ingress.hostname"
    value    = "discourse.my-domain.com"
  }

  set {
    name = "ingress.ingressClassName"
    value = "nginx"
  }
}

遗憾的是,当我运行它时,部署失败了,discourse pod 中的 discourse 容器出现了问题:

Readiness probe failed: Get "http://192.168.4.41:8080/srv/status": dial tcp 192.168.4.41:8080: connect: connection refused

您知道如何解决这个问题吗?

我们不以任何方式支持 Discourse 的 bitnami 打包。他们的支持位于 https://github.com/bitnami/charts/issues。

3 个赞

此主题在上次回复后 24 小时自动关闭。不再允许回复。