1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

resource limit added to kyverno defination and kyvrno chart

Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
This commit is contained in:
Yuvraj 2020-05-21 12:18:05 -07:00
parent 1c1f622d40
commit 3204b16559
2 changed files with 8 additions and 9 deletions

View file

@ -43,12 +43,11 @@ extraArgs: []
# - --webhooktimeout=4
resources:
# limits:
# cpu: 1000m
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 100Mi
limits:
memory: 128Mi
requests:
cpu: 100m
memory: 50Mi
## Liveness Probe. The block is directly forwarded into the deployment, so you can use whatever livenessProbe configuration you want.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/

View file

@ -738,7 +738,7 @@ spec:
- "--filterK8Resources=[Event,*,*][*,kube-system,*][*,kube-public,*][*,kube-node-lease,*][Node,*,*][APIService,*,*][TokenReview,*,*][SubjectAccessReview,*,*][*,kyverno,*][Binding,*,*][ReplicaSet,*,*]"
# customize webhook timeout
#- "--webhooktimeout=4"
- "-v=6"
- "-v=2"
ports:
- containerPort: 443
env:
@ -746,7 +746,7 @@ spec:
value: init-config
resources:
requests:
memory: "64Mi"
memory: "50Mi"
cpu: "100m"
limits:
memory: "128Mi""
memory: "128Mi"