We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339d62e commit bd25915Copy full SHA for bd25915
mexec-exec
@@ -78,7 +78,7 @@ main() {
78
parse_arguments "$@"
79
80
if [[ -z "${local_file}" ]]; then
81
- kubectl get pod "${kgp_args[@]}" -o name | awk -F/ '{print $2}' | xargs -P "${parallel}" -I{} bash -c "kubectl exec ${keti_args[*]@Q} {} -- ${cmd[*]@Q} |& sed s/^/{}\ /g"
+ kubectl get pod "${kgp_args[@]}" -o name | awk -F/ '{print $2}' | xargs -S10240 -P "${parallel}" -I{} bash -c "kubectl exec ${keti_args[*]@Q} {} -- ${cmd[*]@Q} |& sed s/^/{}\ /g"
82
else
83
if [[ ! -f "${local_file}" ]]; then
84
errecho "Error: local file ${local_file} not found"
0 commit comments