Openshift: Endpoints/Service for External MongoDB: Error No server chosen by WritableServerSelector from cluster description

6/22/2018

I am deploying my spring boot application in Openshift and the same uses external mongodb cluster for which I have created Endpoints/Service Objects. In my application.properties file I am using service name and when I try to call some API I am getting below error

No server chosen by WritableServerSelector from cluster description

Thanks for the help

-- maverick
kubernetes
mongodb
mongodb-replica-set
openshift

1 Answer

6/22/2018
-- Daein Park
Source: StackOverflow