Charts: [stable/mongodb-replicaset] Does not have a valid replica set config

Created on 17 Nov 2019  路  2Comments  路  Source: helm/charts

on Google Kubernets Engine
kubernets version: v1.13.11-gke.14

"ismaster" : false,
"secondary" : false,
"info" : "Does not have a valid replica set config",

Most helpful comment

Did you solved this issue?
I just use this.
rs.initiate({_id: "rs0", version: 1, members: [ { _id: 0, host : "pod ip:27017" }, { _id: 1, host : "pod ip:27017" }, { _id: 2, host : "pod ip:27017" } ]});

All 2 comments

Did you solved this issue?

Did you solved this issue?
I just use this.
rs.initiate({_id: "rs0", version: 1, members: [ { _id: 0, host : "pod ip:27017" }, { _id: 1, host : "pod ip:27017" }, { _id: 2, host : "pod ip:27017" } ]});

Was this page helpful?
0 / 5 - 0 ratings