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

Viewed 981

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

1 Answers

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.

Related