Skip to content

Commit db094d2

Browse files
authored
prometheus: set resource requests for watch container (#1400)
Cherry-picking the change from crdsonnet/prometheus-libsonnet#7
1 parent d6c38bb commit db094d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prometheus/prometheus.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ local kausal = import 'ksonnet-util/kausal.libsonnet';
121121
'-',
122122
'-sS',
123123
'http://localhost:%(prometheus_port)s%(prometheus_web_route_prefix)s-/reload' % _config,
124-
]),
124+
])
125+
+ k.util.resourcesRequests('10m', '10Mi'),
125126

126127
local pvc = k.core.v1.persistentVolumeClaim,
127128

0 commit comments

Comments
 (0)