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

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