Skip to content

Commit 44ee47d

Browse files
authored
fix: fine tune the database performance (#401)
1 parent 3d2eadd commit 44ee47d

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

helm/timescaledb/c6af30-dev-values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ image:
88
pullPolicy: Always
99
tag: 3.2-p1
1010

11-
replicaCount: 2
11+
replicaCount: 1
1212

1313
postgresMajorVersion: 15
1414

1515
resources:
1616
requests:
17-
cpu: 50m
18-
memory: 128Mi
19-
limits:
20-
cpu: 200m
17+
cpu: 100m
2118
memory: 256Mi
19+
limits:
20+
cpu: 250m
21+
memory: 1024Mi
2222

2323
podDisruptionBudget:
2424
enabled: false

k6/k6-runner/openshift/k6/dc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ objects:
2626
value: 'timescaledb=postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}'
2727
- name: SCENARIO
2828
value: ${SCENARIO}
29+
- name: K6_INFLUXDB_PUSH_INTERVAL
30+
value: '5s'
2931
resources:
3032
limits:
3133
cpu: 2

0 commit comments

Comments
 (0)