mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Future-proof detect-minions for gke
This commit is contained in:
parent
489e75e073
commit
30b8802fa6
@ -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[*]}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user