Skip to content

Commit

Permalink
Merge pull request kruize#1383 from kusumachalasani/resources
Browse files Browse the repository at this point in the history
Update kruize default cpu/memory resources for openshift
  • Loading branch information
dinogun authored Nov 22, 2024
2 parents 569b668 + 0d6aad4 commit 5acb23f
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ metadata:
spec:
storageClassName: manual
capacity:
storage: 1Gi # Sets PV Volume
storage: 500Mi # Sets PV Volume
accessModes:
- ReadWriteMany
hostPath:
Expand All @@ -73,7 +73,7 @@ spec:
- ReadWriteMany # Sets read and write access
resources:
requests:
storage: 1Gi # Sets volume size
storage: 500Mi # Sets volume size
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -182,11 +182,11 @@ spec:
value: /var/lib/pg_data
resources:
requests:
memory: "2Gi"
cpu: "2"
memory: "100Mi"
cpu: "0.5"
limits:
memory: "2Gi"
cpu: "2"
memory: "100Mi"
cpu: "0.5"
ports:
- containerPort: 5432
volumeMounts:
Expand Down Expand Up @@ -264,11 +264,11 @@ spec:
value: "-XX:MaxRAMPercentage=80"
resources:
requests:
memory: "2Gi"
cpu: "2"
memory: "350Mi"
cpu: "0.7"
limits:
memory: "2Gi"
cpu: "2"
memory: "350Mi"
cpu: "0.7"
ports:
- name: kruize-port
containerPort: 8080
Expand Down

0 comments on commit 5acb23f

Please sign in to comment.