kubectl-debug icon indicating copy to clipboard operation
kubectl-debug copied to clipboard

error container not ready

Open todaygood opened this issue 5 years ago • 3 comments

[root@node1 ~]# kubectl exec  virt-operator-597d676ff5-qhkms -n kubevirt --  ls   /etc/virt-operator/certificates
tls.crt
tls.key
[root@node1 ~]# kubectl debug   virt-operator-597d676ff5-qhkms -n kubevirt 
error: container [virt-operator] not ready

todaygood avatar Sep 30 '20 01:09 todaygood

I found kubectl debug didn't support a not ready pod , is it right?

todaygood avatar Oct 05 '20 23:10 todaygood

@todaygood Exactly

aylei avatar Nov 13 '20 03:11 aylei

Hi @aylei, thanks a lot for this awesome kubectl plugin. Is there a specific blocker for supporting Pods that aren't ready? Why can't kubectl-debug work in those cases? It would be super-useful, since most of the cases you want to debug something is when it's not working.

yanniszark avatar Nov 27 '20 11:11 yanniszark