Skip to content
Snippets Groups Projects
Commit 6562f95c authored by zzg's avatar zzg
Browse files

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

parent a536114b
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment