Skip to content

Commit

Permalink
chore: adding limits for karpenter for memory and cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocsgomes committed Aug 11, 2024
1 parent c2e10b8 commit 74abd12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/environments/prod/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ resource "kubectl_manifest" "karpenter_node_pool" {
operator: Gt
values: ["2"]
limits:
cpu: 1000
cpu: 50
memory: 20Gi
disruption:
consolidationPolicy: WhenEmpty
consolidateAfter: 30s
Expand Down

0 comments on commit 74abd12

Please sign in to comment.