Skip to content

Commit 165b62c

Browse files
committed
Add resource limits and requests
1 parent b196559 commit 165b62c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: deploy/deployment.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ spec:
2323
- /scan-deduplicator
2424
- -tls-cert-file=/etc/webhook/certs/tls.crt
2525
- -tls-key-file=/etc/webhook/certs/tls.key
26+
resources:
27+
limits:
28+
memory: "512Mi"
29+
cpu: "500m"
30+
requests:
31+
memory: "128Mi"
32+
cpu: "10m"
2633
volumeMounts:
2734
- name: webhook-certs
2835
mountPath: /etc/webhook/certs

0 commit comments

Comments
 (0)