Skip to content

Commit

Permalink
update default resources for openshift
Browse files Browse the repository at this point in the history
Signed-off-by: kusumachalasani <[email protected]>
  • Loading branch information
kusumachalasani committed Nov 22, 2024
1 parent 031d770 commit 0d6aad4
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 0d6aad4

Please sign in to comment.