-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding HPA for eventing-webhook #4792
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #4792 +/- ##
=======================================
Coverage 81.25% 81.25%
=======================================
Files 291 291
Lines 8281 8281
=======================================
Hits 6729 6729
Misses 1143 1143
Partials 409 409 Continue to review full report at Codecov.
|
/assign |
lgtm if folks wanna have it in , I'll leave this for someone with a stronger opinion about it. @vaikas @grantr @lionelvillard |
Related I will be also working introducing There you set the |
minAvailable: 80% | ||
selector: | ||
matchLabels: | ||
app: webhook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be eventing-webhook
.
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
apiVersion: autoscaling/v2beta1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use v2beta2
?
- Scale Webhook based on CPU - Add initial PodDisruptionBudget
@pierDipi true: I updated to This matches now the HPAs we have already in for the MT Broker, which also goes for the |
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
lgtm leaving it for @pierDipi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/kind enhancement |
Signed-off-by: Matthias Wessendorf mwessend@redhat.com
Proposed Changes
Similar to this PR on the serving component from September 2020: knative/serving#9444