mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #91205 from tosi3k/remove-unnecessary-kubemark-logs
Remove unnecessary logging info from kubemark nodes annotation
This commit is contained in:
commit
04deee94a8
@ -238,7 +238,7 @@ function resize-node-objects {
|
||||
echo "Annotating node objects with ${annotation_size_bytes} byte label"
|
||||
label=$( (< /dev/urandom tr -dc 'a-zA-Z0-9' | fold -w "$annotation_size_bytes"; true) | head -n 1)
|
||||
"${KUBECTL}" --kubeconfig="${LOCAL_KUBECONFIG}" get nodes -o name \
|
||||
| xargs -n10 -P100 -r -I% "${KUBECTL}" --kubeconfig="${LOCAL_KUBECONFIG}" annotate --overwrite % label="$label"
|
||||
| xargs -n10 -P100 -r -I% "${KUBECTL}" --kubeconfig="${LOCAL_KUBECONFIG}" annotate --overwrite % label="$label" > /dev/null
|
||||
echo "Annotating node objects completed"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user