Skip to content

Commit

Permalink
fix(nodepool.yaml): reduce consolidation time from 5 minutes to 1 min…
Browse files Browse the repository at this point in the history
…ute to improve resource utilization

fix(values.yaml): update toleration key from "xquare/critical" to "xquare/critical_service" for better clarity and consistency
  • Loading branch information
HyunSu1768 committed Sep 20, 2024
1 parent 654c7f3 commit fd9ef04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/karpenter-nodepool/templates/nodepool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
disruption:
consolidationPolicy: WhenEmptyOrUnderutilized
consolidateAfter: 5m
consolidateAfter: 1m
template:
metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion charts/karpenter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ karpenter:
settings:
clusterName: "xquare-v3-cluster"
tolerations:
- key: "xquare/critical"
- key: "xquare/critical_service"
operator: "Equal"
value: "true"
effect: "NoSchedule"
Expand Down

0 comments on commit fd9ef04

Please sign in to comment.