Skip to content

Commit

Permalink
Tweak deployment replicas and requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Jul 17, 2024
1 parent 6927e95 commit 5c5a7f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kustomize/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ spec:
value: "Australia/Perth"
resources:
requests:
memory: "128Mi"
cpu: "10m"
memory: "100Mi"
cpu: "5m"
limits:
memory: "2Gi"
cpu: "1000m"
Expand Down
5 changes: 3 additions & 2 deletions kustomize/base/deployment_hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ kind: HorizontalPodAutoscaler
metadata:
name: ibms-deployment-hpa
spec:
minReplicas: 1
maxReplicas: 3
# Set a min of 2 replicas in order to allow our PDB.
minReplicas: 2
maxReplicas: 10
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit 5c5a7f2

Please sign in to comment.