79432452

Date: 2025-02-12 09:07:55
Score: 1
Natty:
Report link

Without xargs but its doing its job:

for ns in $(kubectl get ns --no-headers); do echo $ns && for pod in $(kubectl -n $ns get pod -o name); do echo $pod && kubectl -n $ns logs $pod --all-containers=true | grep $value; done; done
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: me_code_me_develop