Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
[release-0.23] Add resource requests and limits to kafka-webhook (#723)
Browse files Browse the repository at this point in the history
* Add resource requests and limits to kafka-webhook

The horizontalPodAutoscaler fails without set resources.

* Increase memory limit

Co-authored-by: Lukas Berk <[email protected]>
  • Loading branch information
knative-prow-robot and lberk authored Jun 21, 2021
1 parent 8aa193f commit a5e581a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions config/channel/webhook/webhook-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@ spec:
containerPort: 9090
- name: profiling
containerPort: 8008
# TODO set proper resource limits.

resources:
requests:
cpu: 100m
memory: 50Mi
limits:
cpu: 200m
memory: 1024Mi
readinessProbe: &probe
periodSeconds: 1
httpGet:
Expand Down

0 comments on commit a5e581a

Please sign in to comment.