forked from aws/karpenter-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/aws/karpenter-provider-aws
- Loading branch information
Showing
17 changed files
with
23 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
website/content/en/docs/getting-started/migrating-from-cas/scripts/step05-tag-subnets.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
for NODEGROUP in $(aws eks list-nodegroups --cluster-name "${CLUSTER_NAME}" --query 'nodegroups' --output text); do | ||
aws ec2 create-tags \ | ||
--tags "Key=karpenter.sh/discovery,Value=${CLUSTER_NAME}" \ | ||
--resources "$(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text )" | ||
done | ||
--resources $(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text ) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
website/content/en/preview/getting-started/migrating-from-cas/scripts/step05-tag-subnets.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
for NODEGROUP in $(aws eks list-nodegroups --cluster-name "${CLUSTER_NAME}" --query 'nodegroups' --output text); do | ||
aws ec2 create-tags \ | ||
--tags "Key=karpenter.sh/discovery,Value=${CLUSTER_NAME}" \ | ||
--resources "$(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text )" | ||
done | ||
--resources $(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text ) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
website/content/en/v0.34/getting-started/migrating-from-cas/scripts/step05-tag-subnets.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
for NODEGROUP in $(aws eks list-nodegroups --cluster-name ${CLUSTER_NAME} \ | ||
--query 'nodegroups' --output text); do aws ec2 create-tags \ | ||
for NODEGROUP in $(aws eks list-nodegroups --cluster-name "${CLUSTER_NAME}" --query 'nodegroups' --output text); do | ||
aws ec2 create-tags \ | ||
--tags "Key=karpenter.sh/discovery,Value=${CLUSTER_NAME}" \ | ||
--resources $(aws eks describe-nodegroup --cluster-name ${CLUSTER_NAME} \ | ||
--nodegroup-name $NODEGROUP --query 'nodegroup.subnets' --output text ) | ||
done | ||
--resources $(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text ) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
website/content/en/v0.35/getting-started/migrating-from-cas/scripts/step05-tag-subnets.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
for NODEGROUP in $(aws eks list-nodegroups --cluster-name "${CLUSTER_NAME}" --query 'nodegroups' --output text); do | ||
aws ec2 create-tags \ | ||
--tags "Key=karpenter.sh/discovery,Value=${CLUSTER_NAME}" \ | ||
--resources "$(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text )" | ||
done | ||
--resources $(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text ) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
website/content/en/v0.36/getting-started/migrating-from-cas/scripts/step05-tag-subnets.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
for NODEGROUP in $(aws eks list-nodegroups --cluster-name "${CLUSTER_NAME}" --query 'nodegroups' --output text); do | ||
aws ec2 create-tags \ | ||
--tags "Key=karpenter.sh/discovery,Value=${CLUSTER_NAME}" \ | ||
--resources "$(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text )" | ||
done | ||
--resources $(aws eks describe-nodegroup --cluster-name "${CLUSTER_NAME}" \ | ||
--nodegroup-name "${NODEGROUP}" --query 'nodegroup.subnets' --output text ) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters