-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds progressDeadline annotation on per revision basis (#12751)
* adds progressDeadline annotation on per revision basis Signed-off-by: Paul S. Schweigert <[email protected]> This PR allows setting the progress-deadline on each revision by passing an annotation, autoscaling.knative.dev/progressDeadline. It aims to improve the experience where revisions don't fail until the progressDeadline is reached, which by default is 10 minutes. Not everyone necessarily wants to wait that long, but previously the only resource was for the cluster admin to lower the deadline universally (i.e. change the default). With this change, we allow users to "fail fast", if they so desire. * remove unnecessary conversion Signed-off-by: Paul S. Schweigert <[email protected]> * address review pt1 Signed-off-by: Paul S. Schweigert <[email protected]> * unit test Signed-off-by: Paul S. Schweigert <[email protected]> * fixing annotation in tests Signed-off-by: Paul S. Schweigert <[email protected]> * update key to serving.knative.dev Signed-off-by: Paul S. Schweigert <[email protected]> * move annotation to serving register Signed-off-by: Paul S. Schweigert <[email protected]> * validate revisions, not services or routes Signed-off-by: Paul S. Schweigert <[email protected]>
- Loading branch information
Showing
11 changed files
with
241 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters