Contents

Kubernetes exec Log

Execute Command in exist POD

1
kubectl exec test-pod > ~/test-dmesg -- dmesg

Execute Command Temporary POD

1
kubectl run test-pod --image=busybox --restart=Never --rm -it > ~/test.log -- nc -z -v -w 2 webapp-service