Skip to content

Commit 175fb85

Browse files
committed
Increase postgreas cpu limit
Today we were above 1 cpu usage. Let put here the max we can. I also slightly increased valkey and pushgateway since sometimes we are close to the limit (looking at metrics).
1 parent 7166676 commit 175fb85

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

openshift/postgres.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
# based on this limit, so keep the limit reasonably high.
7272
memory: "{{ '4Gi' if project == 'packit--prod' else '512Mi' }}"
7373
# Not utilized most of the time, but useful during migrations and for some queries
74-
cpu: "1"
74+
cpu: "2"
7575
volumeMounts:
7676
- name: postgres-data
7777
mountPath: /var/lib/pgsql/data

openshift/pushgateway.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
cpu: "5m"
4343
limits:
4444
memory: "32Mi"
45-
cpu: "10m"
45+
cpu: "50m"
4646
replicas: 1
4747
strategy:
4848
type: Recreate

openshift/valkey.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
cpu: "10m"
4444
limits:
4545
memory: "256Mi"
46-
cpu: "10m"
46+
cpu: "50m"
4747
volumes:
4848
- name: valkey-pv
4949
persistentVolumeClaim:

0 commit comments

Comments
 (0)