Skip to content

Commit 79bebc2

Browse files
author
ZacharyLeahan
committed
Add HPA configuration and adjust memory resources
1 parent 79d1989 commit 79bebc2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

choose-native-plants/release-values.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,23 @@ app:
5050
# Resource settings for the application
5151
resources:
5252
limits:
53-
memory: 4Gi
54-
requests:
5553
memory: 1Gi
54+
requests:
55+
memory: 512Mi
5656

5757
# Use existing resources instead of creating new ones
5858
existingPVCs:
5959
appImages: "choose-native-plants-app-images-v2"
6060
mongoData: "choose-native-plants-mongo-data"
6161

62+
# Horizontal Pod Autoscaling configuration
63+
autoscaling:
64+
enabled: true
65+
minReplicas: 1
66+
maxReplicas: 3
67+
targetCPUUtilizationPercentage: 80
68+
targetMemoryUtilizationPercentage: 80
69+
6270
# Use existing service and ingress
6371
existingService: false
6472
existingIngress: false

0 commit comments

Comments
 (0)