Repository navigation
Fix race condition between Revision and PodAutoscaler readiness. - #8577
Conversation
knative-prow-robot
left a comment
There was a problem hiding this comment.
@markusthoemmes: 0 warnings.
Details
In response to this:
Fixes #8539
Proposed Changes
This fixes a race condition where the revision reconciler might never be able to observe a PodAutoscaler while it's ready and only see it non-ready if the PA scales down to 0 before the revision reconciler saw PA's readiness.
While the desire is to make PA's readiness more fitting with K8s APIs in general (i.e. make it be ready even if scaled to 0) this at least fixes the major painpoint we're having with the current state.
Release Note
NONE/assign @vagababov @julz
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
|
In general LGTM |
This fixes a race condition where the revision reconciler might never be able to observe a PodAutoscaler while it's ready and only see it non-ready if the PA scales down to 0 before the revision reconciler saw PA's readiness. While the desire is to make PA's readiness more fitting with K8s APIs in general (i.e. make it be ready even if scaled to 0) this at least fixes the major painpoint we're having with the current state.
ec5246e to
8b95f08
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markusthoemmes The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
The following is the coverage report on the affected files.
|
Fixes #8539
Proposed Changes
This fixes a race condition where the revision reconciler might never be able to observe a PodAutoscaler while it's ready and only see it non-ready if the PA scales down to 0 before the revision reconciler saw PA's readiness.
While the desire is to make PA's readiness more fitting with K8s APIs in general (i.e. make it be ready even if scaled to 0) this at least fixes the major painpoint we're having with the current state.
Release Note
/assign @vagababov @julz