mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 08:09:58 +00:00
AWS: Only match minions in the current ASG
i.e. don't assume there is only one ASG any more
This commit is contained in:
parent
d64643fe26
commit
cf86ecc604
@ -189,6 +189,7 @@ function query-running-minions () {
|
|||||||
--filters Name=instance-state-name,Values=running \
|
--filters Name=instance-state-name,Values=running \
|
||||||
Name=vpc-id,Values=${VPC_ID} \
|
Name=vpc-id,Values=${VPC_ID} \
|
||||||
Name=tag:KubernetesCluster,Values=${CLUSTER_ID} \
|
Name=tag:KubernetesCluster,Values=${CLUSTER_ID} \
|
||||||
|
Name=tag:aws:autoscaling:groupName,Values=${ASG_NAME} \
|
||||||
Name=tag:Role,Values=${MINION_TAG} \
|
Name=tag:Role,Values=${MINION_TAG} \
|
||||||
--query ${query}
|
--query ${query}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user