Open squillace opened 6 years ago
This one is interesting. I haven't the foggiest idea what caused it, though it looks like it was a connection timeout error with the port-forwarded connection to tiller. I'll see if I can reproduce. :)
Before that error occurred, were you able to confirm that tiller was indeed running? It's possible that the cluster was still trying to start up.
same cluster, every time. Here it happens again, with the first time deploying to the same AKS cluster as above but from ACR. Wondering whether we're maybe trying to deploy before the image is ready to be pulled? No idea; just guessing here.
Remember: I'm on a home network for which the upload is VASTLY slower than most people's.... might have something to do with it. Look at the original upload times.....
Yeah: this is a thing. If the push takes too long -- and the initial push often does on a slow upload connection -- the release step fails on this result. the tunnel context has been lost, I think, but it doesn't reconnect/reconstruct the ssh context.
hmm good insight! we establish a connection to tiller the moment we invoke draft up
. Perhaps there's a way to keep the connection alive.
Or let me set the timeout somewhere..... don't do work FOR me, but in the small number of cases when upload is KNOWN slow, a hard to find timeout setting can be expanded...... ?
labeling as a good first issue. :)
On Mac, draft version:
&version.Version{SemVer:"canary", GitCommit:"78385afe65500ebb4f546341f229a5f200f1128a", GitTreeState:"clean"}
The image shows you what happens again and again IF you've never pushed before. In this case, pushing to docker.io/squillace. If you immediately rerun draft up, it all succeeds fine, and subsequent rebuilds with changes will push much faster.