This reliably fails for me:
$ kubectl --namespace=blah exec -t -i infra-web-2181569391-65mtk -c apache bash Error from server: ssh: rejected: connect failed (Connection timed out)
while this reliably works, proving that master-node connectivity is OK:
$ kubectl --namespace=blah logs infra-web-2181569391-65mtk -c apache [some messages from apache]
What could be the reason?
BTW, using ls
in place of bash
has the same result.