Skip to content

Commit

Permalink
updated karpenter.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Aug 1, 2024
1 parent 279b1cd commit 6d9e34b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions karpenter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
#
# https://karpenter.sh/

# XXX: do not use with traditional cluster autoscaling as there will be a race condition
# between the two cluster autoscalers trying to scale up nodes in response to unscheduleable pods

---
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
Expand Down Expand Up @@ -52,4 +55,5 @@ spec:
- on-demand
provider:
instanceProfile: KarpenterNodeInstanceProfile-eks-karpenter-demo
# terminate empty nodes after this many seconds of being idle
ttlSecondsAfterEmpty: 30

0 comments on commit 6d9e34b

Please # to comment.