我有一个在 OpenStack 上运行的 K8s 集群。我正在使用 helm 和 MongoDB helm chart 4.0.6 将我的应用程序与单节点 MongoDB 4.0.1 一起部署。MongoDB 似乎初始化并启动得很好。但是,启动后,所有身份验证都失败。一个奇怪的转折是它最初是有效的,但现在每次我尝试/重试时都失败了。
身份验证失败的 MongoDB 日志:
Welcome to the Bitnami mongodb container
Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mongodb
Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mongodb/issues
nami INFO Initializing mongodb
mongodb INFO ==> Deploying MongoDB from scratch...
mongodb INFO ==> No injected configuration files found. Creating default config files...
mongodb INFO ==> Creating root user...
mongodb INFO ==> Creating ars user...
mongodb INFO ==> Enabling authentication...
mongodb …Run Code Online (Sandbox Code Playgroud)