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
…#1169)

Signed-off-by: Michael Irwin <[email protected]>
  • Loading branch information
mikesir87 authored Jan 18, 2022
1 parent df7474a commit 221ecdb
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 221ecdb

Please sign in to comment.