Mongoose:[36mDB连接错误:MongoError:在复本集中找不到主节点

[36mDB connection error: MongoError: no primary found in replicaset[39m 0|product- | Unhandled rejection MongoError: no primary found in replicaset 0|product- | at /opt/source/node_modules/mongodb-core/lib/topologies/replset.js:524:28 0|product- | From previous event: 

在通过Kubernetes在AWS上设置的有状态。

这是K8S文件中的URLconfiguration:

 - name: MONGODB_URI value: mongodb://mongo-0.mongo,mongo-1.mongo,mongo-2.mongo:27017/saveup-product-api?replicaSet=database