mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
fix mig command for gce
This commit is contained in:
@@ -249,7 +249,7 @@ function detect-minion-names {
|
||||
detect-project
|
||||
MINION_NAMES=($(gcloud compute instance-groups managed list-instances \
|
||||
"${NODE_INSTANCE_PREFIX}-group" --zone "${ZONE}" --project "${PROJECT}" \
|
||||
| cut -d'/' -f11))
|
||||
--format=yaml | grep instance: | cut -d ' ' -f 2))
|
||||
echo "MINION_NAMES=${MINION_NAMES[*]}" >&2
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user