kubectl diff -f .
↓
ls . | xargs -t -P$(ls | wc -l) -I {} kubectl diff -f {} or ls . | xargs -t -P$(ls | wc -l) -I {} sh -c 'kubectl diff -f {} | tee -a /tmp/diff/{}.diff'
kubectl apply -f . ↓ ls . | xargs -t -P$(ls | wc -l) -I {} kubectl apply --validate=true --dry-run=server -f {}