File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed
manifests/modules/autoscaling/compute/karpenter/nodepool Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: EC2NodeClass
3
3
metadata :
4
4
name : default
5
5
spec :
6
- amiFamily : AL2
6
+ amiFamily : AL2023 # Amazon Linux 2023
7
7
role : " ${KARPENTER_ROLE}"
8
8
subnetSelectorTerms :
9
9
- tags :
Original file line number Diff line number Diff line change 23
23
disruption :
24
24
consolidationPolicy : WhenUnderutilized
25
25
expireAfter : 720h # 30 * 24h = 720h
26
- ---
27
- apiVersion : karpenter.k8s.aws/v1beta1
28
- # HIGHLIGHT
29
- kind : EC2NodeClass
30
- metadata :
31
- name : default
32
- spec :
33
- amiFamily : AL2023 # Amazon Linux 2023
34
- role : " ${KARPENTER_ROLE}"
35
- subnetSelectorTerms :
36
- - tags :
37
- karpenter.sh/discovery : ${EKS_CLUSTER_NAME}
38
- securityGroupSelectorTerms :
39
- - tags :
40
- karpenter.sh/discovery : ${EKS_CLUSTER_NAME}
41
- tags :
42
- app.kubernetes.io/created-by : eks-workshop
You can’t perform that action at this time.
0 commit comments