Replicaset wont join a sharded cluster if expose.enabled is true
General
Escalation
General
Escalation
Description
When multiple shards are configured, shards with
expose: enabled:true exposeType:ClusterIP
won't join the sharded cluster
sh.status() returns
Environment
None
Attachments
2
18 May 2021, 07:27 AM
18 May 2021, 07:26 AM
Smart Checklist
Activity
Show:
Sergey Pronin June 16, 2021 at 1:25 PM
I'm closing this as Won't do. We are going to work on DR feature instead.
Sri Harsha gangisetty May 18, 2021 at 8:18 AM
Hi @mykola.marzhan
I presume this is because of the host set for the replica set? I was trying to map shards to custom dns to test cross-cluster replication, guess I'll wait for DR feature to be finalised.
Mykola Marzhan May 18, 2021 at 8:04 AM
Hi @Sri Harsha gangisetty,
it is expected. for the sharded cluster, for now, you should use `cr.spec.sharding.mongos.expose.exposeType` option and have disabled `cr.spec.replsets[].expose.enabled`. we know about this design limitation, we plan to fix it in the future for the cross-cluster/region replication for the DR feature.
When multiple shards are configured, shards with
expose: enabled: true exposeType: ClusterIP
won't join the sharded cluster
sh.status() returns