The generator parameter has been discarded

Generator parameter has been deprecated since V1.18.0
66944ff3b5

Change-Id: I67ee89e9087bff04e95c44340e9f6ebeeb7a86fa
This commit is contained in:
jinyuanliu 2022-02-14 03:52:52 -05:00
parent 3ff41ce11c
commit e56a95b50b

View File

@ -19,7 +19,6 @@ kubectl get nodes -o json | jq -r '.items[].status.addresses[] | select(.type=="
function run_and_log_ipcalc {
POD_NAME="tmp-$(cat /dev/urandom | env LC_CTYPE=C tr -dc a-z | head -c 5; echo)"
kubectl run ${POD_NAME} \
--generator=run-pod/v1 \
--wait \
--image ${UTILS_IMAGE} \
--restart=Never \