argo-cd/resource_customizations/karpenter.k8s.aws/EC2NodeClass/testdata/degraded.yaml
KoB 9472273a1b
feat(health-check): Add resource_customizations for karpenter (#23139)
Signed-off-by: 김병준 <kingbj0429@gmail.com>
2025-06-05 14:22:39 +00:00

40 lines
943 B
YAML

apiVersion: karpenter.k8s.aws/v1
kind: EC2NodeClass
metadata:
finalizers:
- karpenter.k8s.aws/termination
name: ec2nodeclass
spec:
amiFamily: AL2023
amiSelectorTerms:
- alias: al2023@latest
blockDeviceMappings:
- deviceName: /dev/xvda
ebs:
deleteOnTermination: true
encrypted: false
volumeSize: 50Gi
volumeType: gp3
kubelet:
imageGCHighThresholdPercent: 85
imageGCLowThresholdPercent: 80
metadataOptions:
httpEndpoint: enabled
httpProtocolIPv6: disabled
httpPutResponseHopLimit: 1
httpTokens: required
role: KarpenterInstanceProfile1111
securityGroupSelectorTerms:
- id: sg-1111
subnetSelectorTerms:
- id: subnet-1111
- id: subnet-2222
tags:
Name: karpenter.sh/default
karpenter.sh/discovery: cluster
status:
conditions:
- message: EC2NodeClass is not ready
reason: NotReady
status: "False"
type: Ready