Skip to content

Commit

Permalink
Updated CPU request to autoscale more correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 13, 2024
1 parent 0f1b1ab commit 8a97974
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions k8s/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) 2024 Isaac Adams
# Licensed under the MIT License. See LICENSE file in the project root for full license information.
---
apiVersion: v1
kind: Namespace
Expand Down Expand Up @@ -62,11 +64,11 @@ spec:
failureThreshold: 3
resources:
requests:
memory: "160Mi"
cpu: "250m"
memory: "512Mi"
cpu: "1"
limits:
memory: "512Mi"
cpu: "2"
cpu: "1"
ports:
- name: http
containerPort: 8080
Expand Down

0 comments on commit 8a97974

Please sign in to comment.