首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >helm install Orion Context Broker的问题

helm install Orion Context Broker的问题
EN

Stack Overflow用户
提问于 2021-05-29 04:06:33
回答 1查看 79关注 0票数 1

我正试着用你的头盔图在AKS上安装FIWARE Orion。我使用以下命令安装了MongoDB

helm repo add azure-marketplace https://marketplace.azurecr.io/helm/v1/repo helm install my-release azure-marketplace/mongodb

因此,我在values.yaml中对MongoDB进行了如下配置:

代码语言:javascript
复制
## database configuration
  db:
    # -- configuration of the mongo-db hosts. if multiple hosts are inserted, its assumed that mongo is running as a replica set
    hosts: [my-release-mongodb]
    #   - my-release-mongodb
    # -- the db to use. if running in multiservice mode, its used as a prefix.
    name: orion
    # -- Database authentication (not needed if MongoDB doesn't use --auth)
    auth:
      # --user for connecting mongo
      user: root
      # -- password to be used on mongo
      password: mypasswd
      # -- the MongoDB authentication mechanism to use in the case user and password is set
      #mech: SCRAM-SHA-1

我使用命令: helm install test orion

当我在pod日志中看到这个错误时,我想一定是出了什么问题;

代码语言:javascript
复制
kubectl logs test-orion-7dfcc9c7fb-8vbgw
time=2021-05-28T19:50:29.737Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongocContextCachePersist.cpp[59]:mongocContextCachePersist | msg=Database Error (persisting context: command insert requires authentication)

你能帮我弄一下这个吗?

致以良好的问候约翰

EN

回答 1

Stack Overflow用户

发布于 2021-06-07 14:15:15

你应该确保mongo-db在"my-release-mongodb:27017“上是可用的,你可以使用"kubectl get services”。除此之外,请确保"root:mypasswd“实际上是mongodb中设置的凭据。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67744899

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档