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:
parent
1c1f622d40
commit
3204b16559
2 changed files with 8 additions and 9 deletions
|
@ -43,12 +43,11 @@ extraArgs: []
|
||||||
# - --webhooktimeout=4
|
# - --webhooktimeout=4
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
# limits:
|
limits:
|
||||||
# cpu: 1000m
|
memory: 128Mi
|
||||||
# memory: 500Mi
|
requests:
|
||||||
# requests:
|
cpu: 100m
|
||||||
# cpu: 100m
|
memory: 50Mi
|
||||||
# memory: 100Mi
|
|
||||||
|
|
||||||
## Liveness Probe. The block is directly forwarded into the deployment, so you can use whatever livenessProbe configuration you want.
|
## 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/
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
|
||||||
|
|
|
@ -738,7 +738,7 @@ spec:
|
||||||
- "--filterK8Resources=[Event,*,*][*,kube-system,*][*,kube-public,*][*,kube-node-lease,*][Node,*,*][APIService,*,*][TokenReview,*,*][SubjectAccessReview,*,*][*,kyverno,*][Binding,*,*][ReplicaSet,*,*]"
|
- "--filterK8Resources=[Event,*,*][*,kube-system,*][*,kube-public,*][*,kube-node-lease,*][Node,*,*][APIService,*,*][TokenReview,*,*][SubjectAccessReview,*,*][*,kyverno,*][Binding,*,*][ReplicaSet,*,*]"
|
||||||
# customize webhook timeout
|
# customize webhook timeout
|
||||||
#- "--webhooktimeout=4"
|
#- "--webhooktimeout=4"
|
||||||
- "-v=6"
|
- "-v=2"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 443
|
- containerPort: 443
|
||||||
env:
|
env:
|
||||||
|
@ -746,7 +746,7 @@ spec:
|
||||||
value: init-config
|
value: init-config
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "64Mi"
|
memory: "50Mi"
|
||||||
cpu: "100m"
|
cpu: "100m"
|
||||||
limits:
|
limits:
|
||||||
memory: "128Mi""
|
memory: "128Mi"
|
||||||
|
|
Loading…
Add table
Reference in a new issue