Skip to content
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

Kong Docker image is hanging at startup (on Kubernetes only) #258

Closed
pamiel opened this issue May 6, 2019 · 1 comment
Closed

Kong Docker image is hanging at startup (on Kubernetes only) #258

pamiel opened this issue May 6, 2019 · 1 comment

Comments

@pamiel
Copy link

pamiel commented May 6, 2019

This issue is declared here to help people facing the same problem and searching it into this specific docker-kong repo, as the problem is specific to the deployment of Kong as a Docker image (and more specifically in a Kubernetes environment).
However, the overall description is provided here Kong/kong#4559.

A possible workaround (waiting for a more resilient implementation of the DNS query for Cassandra in Kong) is to insert a sleep 5 or a fake DNS lookup (e.g. nslookup fake) in the docker-entrypoint.sh script before running the nginx command (e.g. at the very beginning of the script).

@hutchic
Copy link
Contributor

hutchic commented May 9, 2019

thanks for the cross-link. I'm going to close this issue and continue debugging / investigating on the linked issue.

One point of clarity this is ONLY with Cassandra. We have functional tests that exercise Kong with postgres (the cassandra ones are a work in progress) so can say with certainty that this issue is isolated to Cassandra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants