简体   繁体   中英

Helm/Kube Error: query: failed to query with labels: stream error

Anyone faced similar issue with helm, even with helm list I get that

query: failed to query with labels: stream error when reading response body, may be caused by closed connection. Please retry. Original error: stream error: stream ID 3; INTERNAL_ERROR; received from peer

In my case I found that it was a timeout issues.

Below are the ways I debuged and fixed the issue.

debug

helm ls --debug

delete older versions

kubectl get secrets --all-namespace | grep -i <name of your helm chart>
kubectl delete secret <name here>

Workaround: I increased the timeout and this helped for now:

helm install <name> <folder> --wait --timeout 10m0s --debug

I believe the root cause of this issue is with the apiserver throttle which, I need to check more to find the root cause for slowness.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM