kubernetes / kubectl

Issue tracker and mirror of kubectl code
Apache License 2.0
2.87k stars 921 forks source link

kubectl get pods --all-namespaces returns error #475

Closed nikhilagrawal577 closed 6 years ago

nikhilagrawal577 commented 6 years ago

/kind bug /sig cli

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug Report

Kubernetes version (use kubectl version): 1.8.5

Environment:

What happened: With AWS, when i try to get all the pods in the cluster, it shows error.

FVFV50CPJ1WV:kubernetes i076657$ kubectl get pods --all-namespaces
Stream error http2.StreamError{StreamID:0x33, Code:0x2, Cause:error(nil)} when reading response body, may be caused by closed connection. Please retry

What you expected to happen: It should show all the pods available in all the namespaces.

How to reproduce it (as minimally and precisely as possible):

kubectl get pods --all-namespaces

Anything else we need to know:

fejta-bot commented 6 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale

fejta-bot commented 6 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten

seans3 commented 6 years ago

Based on the error message this appears to be a transient networking problem. Based on the lack of activity, I'm closing this issue. If it is reproducible, please reopen.