-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting sidecar ready annotation early
If no sidercars are present, we can set the `tekton.dev/ready` annotation during pod creation itself instead waiting for the controller to set it after pod creation. This commit adds an option to the `feature-flags` ConfigMap to control this behavior (`enable-ready-annotation-on-pod-create`). By default, the option is set to "false".Setting this flag to "true" will set the annotation at pod creation time for Taskruns without Sidercars. Enabling this option should decrease the time it takes for a TaskRun to start running. However, for clusters that use injected sidecars e.g. istio enabling this option can lead to unexpected behavior. Fixes #2080 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
- Loading branch information
Showing
4 changed files
with
233 additions
and
10 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