-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High availability for Redis, Solr and Postgres #36
base: release/4.0.0
Are you sure you want to change the base?
Conversation
Oh, I did not test my changes carefully enough. Seems like 2 solr pods/containers cannot connect simultanously to ckan. The first solr pod is working, the second produces an error :
Also the second ckan pod is crashing because of no connection to solr:
|
Hehe, yes. High availability is significantly more complex than just raising the number of replicas - at least for stateful applications. Let's have There are HA charts available, that we can use. We'll have to check how much effort it is to integrate them and if they work with our app.
|
Proposed changes:
Background: We recently had an OpenShift update which produced some Solr Errors. Not a big thing, but as solr needs circa 1 minute for startup, the possibility of scaling up the number of pods/ containers would be good for high availability.
I added Redis for completeness. I see no reason why Redis replica count is only used for deployment and not for statefulset, but please do not hesitate to correct me here.
@BWibo I addressed the branch release/3.0.0 because we use it at the moment. No problem to change this to the main branch if it's more convenient for you.