From cf86ecc6046359b3e84e8bf59590d6527b5f9e7a Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Tue, 3 Nov 2015 11:16:18 -0500 Subject: [PATCH] AWS: Only match minions in the current ASG i.e. don't assume there is only one ASG any more --- cluster/aws/util.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index a658c5fab66..2ff0d076d94 100755 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -189,6 +189,7 @@ function query-running-minions () { --filters Name=instance-state-name,Values=running \ Name=vpc-id,Values=${VPC_ID} \ Name=tag:KubernetesCluster,Values=${CLUSTER_ID} \ + Name=tag:aws:autoscaling:groupName,Values=${ASG_NAME} \ Name=tag:Role,Values=${MINION_TAG} \ --query ${query} }