Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- kubectl get pods -n NAMESPACE | grep -o -e .*${1}[\-a-z0-9]* | while read line; do kubectl logs -f $line -n NAMESPACE -c ${1} --tail 100; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement