This is a call for participation on k8s and command line shell tricks that the lovers will hate and appreciate.
#!/bin/sh -e
alias k=kubectl
for pod in $(k get pod | sed 1d | awk '{print $1}')
do k describe pod $pod | sed -n /Events:/,\$p
done
In case you've a better a solution, let us know. (tip: Kubernetes has other ways to inspect events)
Top comments (0)