Skip to content

Commit 5b0c2a2

Browse files
authored
feat: increase resource limits for prometheus workloads (#1631)
1 parent 8c8bbda commit 5b0c2a2

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.values/env/policies.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ policies:
66
container-limits:
77
cpu: '2'
88
enabled: false
9-
memory: 2000Mi
9+
memory: 4Gi
1010
psp-allowed-repos:
1111
enabled: false
1212
repos: []

tests/fixtures/env/policies.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ policies:
66
container-limits:
77
cpu: '2'
88
enabled: true
9-
memory: 2Gi
9+
memory: 4Gi
1010
psp-allowed-repos:
1111
enabled: false
1212
repos:

values/prometheus-operator/prometheus-operator-team.gotmpl

+7-7
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ prometheus:
5959
remoteWrite: null
6060
resources:
6161
limits:
62-
cpu: 200m
63-
memory: 512Mi
62+
cpu: '1'
63+
memory: 4Gi
6464
requests:
6565
cpu: 100m
6666
memory: 128Mi
@@ -72,8 +72,8 @@ grafana:
7272
plugins: []
7373
resources:
7474
limits:
75-
cpu: 500m
76-
memory: 256Mi
75+
cpu: '1'
76+
memory: 4Gi
7777
requests:
7878
cpu: 100m
7979
memory: 128Mi
@@ -94,8 +94,8 @@ alertmanager:
9494
type: OnNamespace
9595
resources:
9696
limits:
97-
cpu: 200m
98-
memory: 128Mi
97+
cpu: 500m
98+
memory: 2Gi
9999
requests:
100100
cpu: 100m
101-
memory: 64Mi
101+
memory: 64Mi

0 commit comments

Comments
 (0)