-
Notifications
You must be signed in to change notification settings - Fork 123
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
client-go: No cached connection was available #92
Comments
I just started having the same issue. Also running AKS. |
Seems to be an issue with Golang and HTTP/2. Related issues: I will try to build this repo again with updated k8s Go-client. |
Did you guys find a workaround? Seeing the same issue and need to constantly recreate the |
No, I did not manage to upgrade Golang in this repo. I'm still getting this issue but it happens very irregularly, so I very much suspect it's a race condition in HTTP/2. Temporary fix is to recreate the deployment, but you will never know when it fails. |
@Pwntus I have a fork of |
@akshayks Thanks, I will try your version asap and report back if I experience the same issue. |
Hey everyone, I can help get this repo updated if you would like. |
@stevesloka That would be wonderful! |
@Pwntus I forked this repo and pushed changes to the client-go-v0.19.3 branch. I will hopefully get around to testing it myself sometime this week. In the meanwhile, let me know how your testing proceeds. |
Same issue on 2 almost identical Rancher cluster : Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:41:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"} registry-creds: reschedule registry-cred pod resolve issue for a while |
@Pwntus Did you have a chance to test out my fork yet? |
Any update on this topic? |
This is something that happens sometimes and we have set up a liveness probe looking logs. If it works with the updated SDK can we push it to master? |
@stevesloka |
Hi, I'm running this on AKS and it works perfectly for a day.
After that it will silently fail and when I view the pod-log I see a continuous list of the following messages each second:
It appears to originate from the k8s Go-client, where a cached connection is missing. Could it be a bug in the client or is it maybe something happening on the AKS level?
Specifically here: https://github.com/upmc-enterprises/registry-creds/blob/master/vendor/k8s.io/client-go/tools/cache/reflector.go#L198
Maybe the Go-client should be updated?
Thankful for any suggestions!
The text was updated successfully, but these errors were encountered: