-
Notifications
You must be signed in to change notification settings - Fork 227
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
Deploy Kubernetes-production stack, function pod can't successfully connect to postgreSQL with errors. #667
Comments
@sss0350 sorry for the late response ! Unfortunately, we don't have an exact solution to your problem this time, as openshift is something we haven't really worked on. We can just say that you don't have to create any schema for Postgres. If there is any progress on this issue, we would appreciate if you could keep us informed ! |
just one thing, can you try with
instead of
(change hostname to ip) |
Kubernetes-quick stack on openshift Origin , can't really persist bolt db data after restart pod. |
bolt is a file storage db, and it does not allow more than one process access a single file AFAIK. Bolt is meant to quickly test / evaluate in a dev environment, not really thought for a production / staging deployment. So we would recommend configuring one of the supported DBs. |
Thanks , per your suggestion , I try to deploy kubernates production stacks as following,
|
Hello , I've successfully run kubernetes-quick stack on openshift Origin on CentOS.
And trying to deploy your kubernetes-production staks on openshift Origin ,
https://github.com/iron-io/functions/tree/master/docs/operating/kubernetes/kubernetes-production
Here's some problems I encountered now:
Since I don’t' have existing redis and postgreSQL, so I'll follow your guide. (And set some openshift required things)
I can successfully run Redis and postgresSQL pods . But function pod seems can not connect to postgresDB.
Is there any extra initial setting need to be done on postgresDB or Redis first?
Here's the default configmap settings, do I need to change it?
MQ_URL: redis://redis-master.default
DB_URL: postgres://postgres:[email protected]/?sslmode=disable
Do I need to create DB schema or something myself? and change this DB_URL setting? If yes , can you provide more detail steps? Or any suggestion?
Thank you.
The text was updated successfully, but these errors were encountered: