Skip to content

Commit

Permalink
Update TF guide for removal of default subnet/security group selector
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Irwin <[email protected]>
  • Loading branch information
mikesir87 committed Jan 18, 2022
1 parent a304cb5 commit a6f83b2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ module "eks" {
asg_max_size = 1
}
]
tags = {
"karpenter.sh/discovery" = var.cluster_name
}
}
```

Expand Down Expand Up @@ -307,6 +311,10 @@ spec:
cpu: 1000
provider:
instanceProfile: KarpenterNodeInstanceProfile-${CLUSTER_NAME}
subnetSelector:
karpenter.sh/discovery: ${CLUSTER_NAME}
securityGroupSelector:
karpenter.sh/discovery: ${CLUSTER_NAME}
ttlSecondsAfterEmpty: 30
EOF
```
Expand Down

0 comments on commit a6f83b2

Please sign in to comment.