update mem limit of kube-rbac-proxy container in pod of node-exporter to 60M

This commit is contained in:
zzg
2019-05-18 04:13:35 +08:00
parent a536114bf3
commit 6562f95c14

View File

@@ -125,7 +125,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
// it so that the scheduler can decide if the pod is schedulable.
container.withPorts(containerPort.new($._config.nodeExporter.port) + containerPort.withHostPort($._config.nodeExporter.port) + containerPort.withName('https')) +
container.mixin.resources.withRequests({ cpu: '10m', memory: '20Mi' }) +
container.mixin.resources.withLimits({ cpu: '20m', memory: '40Mi' }) +
container.mixin.resources.withLimits({ cpu: '20m', memory: '60Mi' }) +
container.withEnv([ip]);
local c = [nodeExporter, proxy];