Skip to content
Snippets Groups Projects
Unverified Commit bbdb21f0 authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1282 from lanmarti/main

Add resource requests and limits to prometheus-adapter container
parents a1a9707f ed483918
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,7 @@ function(params) {
'--secure-port=6443',
'--tls-cipher-suites=' + std.join(',', pa._config.tlsCipherSuites),
],
resources: pa._config.resources,
ports: [{ containerPort: 6443 }],
volumeMounts: [
{ name: 'tmpfs', mountPath: '/tmp', readOnly: false },
......
......@@ -38,7 +38,7 @@
"subdir": "grafana-builder"
}
},
"version": "a20c679492aae363414dce23bc63da09cf8a7287",
"version": "4c6f9dabceb944ce894d79eeb516c98694f5759f",
"sum": "GRf2GvwEU4jhXV+JOonXSZ4wdDv8mnHBPCQ6TUVd+g8="
},
{
......@@ -130,7 +130,7 @@
"subdir": "documentation/prometheus-mixin"
}
},
"version": "79d354ad2e7c3d510a7811176d5ffcd1b29c8b77",
"version": "507d61fdeb4540c34102f41b7286895ecec19324",
"sum": "G3mFWvwIrrhG6hlPz/hQdE6ZNSim88DlbSDJN7enkhY=",
"name": "prometheus"
},
......@@ -141,7 +141,7 @@
"subdir": "mixin"
}
},
"version": "0f5223beb7e9cb7e62f0227bf5649deb851e6112",
"version": "83419bc5e3c5f667410a04c1c9920e27c3779162",
"sum": "cajthvLKDjYgYHCKQU2g/pTMRkxcbuJEvTnCyJOihl8=",
"name": "thanos-mixin"
},
......
......@@ -40,6 +40,13 @@ spec:
name: prometheus-adapter
ports:
- containerPort: 6443
resources:
limits:
cpu: 250m
memory: 180Mi
requests:
cpu: 102m
memory: 180Mi
volumeMounts:
- mountPath: /tmp
name: tmpfs
......
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