Skip to content

Commit 5e228fb

Browse files
authored
fix: This fix the website build failing and update the good nodeclass to AL2023 (#1008)
1 parent 2167f07 commit 5e228fb

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

manifests/modules/autoscaling/compute/karpenter/nodepool/nodeclass.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: EC2NodeClass
33
metadata:
44
name: default
55
spec:
6-
amiFamily: AL2
6+
amiFamily: AL2023 # Amazon Linux 2023
77
role: "${KARPENTER_ROLE}"
88
subnetSelectorTerms:
99
- tags:

manifests/modules/autoscaling/compute/karpenter/nodepool/nodepool.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,3 @@ spec:
2323
disruption:
2424
consolidationPolicy: WhenUnderutilized
2525
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

0 commit comments

Comments
 (0)