Closed GitHubDiom closed 2 years ago
Yes, the proxy-config is the cause of the issue It seems the init-CouchDB has to communicate with the CouchDB pod to initialize the DB tables, but my proxy has redirected the request thus introducing 502 Bad Gateway.
I'm trying to deploy Openwhisk on a Kubernetes cluster.
It seems the
owdev-init-couchdb
pod doesn't complete as the pod can't Initialize the DB tables.The last pieces of the log
I have looked for issues related to this problem, but none seems to be able to solve it.
It seems failed to check the existence of CouchDB in this, I tried to change the CNI from flannel to calico according #678, but the 502 Bad Gateway error is still here.
PS: In order to be able to access Github, I create a configmap called proxy-congfig as a PROXY, and added piece of code to
couchdb-init-job.yaml
as follows:Could this be the cause of the problem?