Add resource requests and limits to prometheus-adapter container

This commit is contained in:
lanmarti
2021-07-27 12:12:41 +02:00
committed by Laurens Martin
parent a1a9707f37
commit ed48391831
3 changed files with 11 additions and 3 deletions

View File

@@ -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 },