我目前正在使用 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
您知道如何解决这个问题吗?