aylei / kubectl-debug

This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.
Apache License 2.0
2.31k stars 303 forks source link

error container not ready #124

Open todaygood opened 4 years ago

todaygood commented 4 years ago
[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 commented 4 years ago

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

aylei commented 4 years ago

@todaygood Exactly

yanniszark commented 4 years ago

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.