Kubernetes on GCE failing #1719
I'm trying to deploy a buffalo app to GCE (kubernetes cluster), but I always get the output:
I'm really not sure what it causes to fail. I have a suspicion that it has to do with the database url parsing, but I cannot localize the error, due to the concrete error output. I have commented out the
I'm using the following Dockerfile:
Yes. you can disable the tx middleware by commenting out:
Another thing that comes to my mind is the health-check URL. Did you set up one for your deployment? (one thing that happened to me was that my GKE cluster was killing my app because it was not able to reach the health endpoint).
@paganotoni: So it has nothing to do with the db connection. It must be something else. In the container log of GCE the following output is logged:
Not sure why the "context canceled" is output. Any hints?