Skip to content

Commit 2df3952

Browse files
committed
Configure resource requests and limits for self-monitor chart deployment.
1 parent b21fe34 commit 2df3952

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

self-monitor/charts/self-monitor/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ spec:
2424
volumeMounts:
2525
- name: config
2626
mountPath: /config
27+
resources:
28+
{{- toYaml .Values.resources | nindent 12 }}
2729
volumes:
2830
- name: config
2931
configMap:

self-monitor/charts/self-monitor/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
replicaCount: 1
22

3+
resources:
4+
requests:
5+
cpu: 200m
6+
memory: 512Mi
7+
limits:
8+
cpu: 500m
9+
memory: 512Mi
10+
311
image:
412
repository: ghcr.io/daverbk/self-monitor
513
tag: latest

0 commit comments

Comments
 (0)