Print container name
kivagant-ba opened this issue · 1 comments
kivagant-ba commented
$ kubectl exec-all deployment mydeployment date
Tue Feb 12 14:35:42 UTC 2019
Tue Feb 12 14:35:44 UTC 2019
It would be nice to see the container name before its output.
jpdasma commented
Hi, in the meantime you could use this style before I manage to find time to add this feature.
kubectl exec-all deployment mydeployment sh -c 'echo -n "$HOSTNAME "; date'