FIWARE / helm-charts

:globe_with_meridians: Kubernetes HELM Charts for FIWARE Generic Enablers for provisioning scalable, production-ready powered-by-FIWARE installations based around NGSI Context Brokers and other components
MIT License
23 stars 31 forks source link

[orion] Replica Set only set with multihosts #74

Open sromerotech opened 2 years ago

sromerotech commented 2 years ago

I'm deploying mongodb in ReplicaSet mode with a headless service, so my mongodb host is mongodb-headless. I can't set de RS value because of this restriction. It would be great to set RS independently to the number of hosts.

wistefan commented 2 years ago

Hello @sergiorb , I will take a look into it. If I remember correctly, this restriction was set due to orion having problems discovering the instances below the headless service. Therefor we call them via .mongodb-headless and list all of them there. But I will check if thats still the case.

sbanoeon commented 8 months ago

Hello @wistefan, can you please elaborate what does it mean that orion is having problems discovering the instances below headless service. I am also using headless service in front of orion, and somehow there is a problem in accessing primary node for write requests through the headless service.