Commit ebe50ea6 authored by Saad Ali's avatar Saad Ali

Merge pull request #13001 from jlowdermilk/gke-util

Future-proof detect-minions for gke
parents 93ffc9c5 30b8802f
......@@ -243,7 +243,8 @@ function detect-minion-names {
detect-node-instance-group
MINION_NAMES=($(gcloud compute instance-groups managed list-instances \
"${NODE_INSTANCE_GROUP}" --zone "${ZONE}" --project "${PROJECT}" \
| cut -d'/' -f11))
--format=yaml | grep instance: | cut -d ' ' -f 2))
echo "MINION_NAMES=${MINION_NAMES[*]}"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment