Skip to content

Commit

Permalink
Added CLI commands to query subnet and security group selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnegus committed Apr 1, 2022
1 parent 486efb5 commit e5816c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions website/content/en/preview/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,17 @@ provider:
securityGroupSelector:
karpenter.sh/discovery: ${CLUSTER_NAME}
```
To check your subnet and security group selectors, type the following:

```bash
aws ec2 describe-subnets --filters Name=tag:karpenter.sh/discovery,Values=${CLUSTER_NAME}
```
*Returns subnets matching the selector*

```bash
aws ec2 describe-security-groups --filters Name=tag:karpenter.sh/discovery,Values=${CLUSTER_NAME}
```
*Returns security groups matching the selector*

Provisioners created without those tags and run in more recent Karpenter versions will fail with this message when you try to run the provisioner:

Expand Down

0 comments on commit e5816c7

Please sign in to comment.