-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[TEP-0104] Support Task-level Resource Requirements for TaskRun: Part #1 Fields Addition & Validation w/ Docs Updates #4877
Conversation
The following is the coverage report on the affected files.
|
fcd18c3
to
00a3b81
Compare
The following is the coverage report on the affected files.
|
00a3b81
to
f71b082
Compare
f71b082
to
18f89e6
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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.
Thanks Austin! I would suggest just adding the fields, docs, and webhook validation in the initial PR, and updating the reconciler in a subsequent PR.
/hold
until tektoncd/community#703 is accepted
agree @lbernick. thinking of a bit the complexity, was planning to complete the logic
|
ok sounds good! Just one more note, new fields should be guarded behind the alpha feature flag |
got this. So the feature flag checks will be mainly/only needed in reconciler code right? |
/kind feature |
The feature flag checks should be included in the webhook validation, and optionally the reconciler validation, for the same reason as before (fail as fast as possible). |
/retest |
The following is the coverage report on the affected files.
|
18f89e6
to
6847b3f
Compare
58b5fea
to
a274242
Compare
3c668a9
to
445529f
Compare
445529f
to
9ce0894
Compare
9ce0894
to
030d627
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lbernick 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 |
030d627
to
e67fb1c
Compare
/retest |
Required fields and related webhook validations are added to support a user to configure compute resources for TaskRun which will significantly reduce the over-asked resources amount configured by the Step-level.
e67fb1c
to
2e80113
Compare
/meow |
In response to this:
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. |
/lgtm |
/retest |
Changes
/kind feature
The related TEP:
TEP-0104: Support Task-level resource limits
TEP-0104: Scope Updates to Runtime
TEP-0104: Rename "resources" field as "computeResources"
The related FR thread:
FR: Task-level (and maybe Pipeline-level) resource requests and limits
This PR will include changes as:
A follow-up PR will include changes to update compute resources configuration by the specified task-level resource requirements:
TODO
After the scope update & field name update:
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes
As changes will be delivered in 2/3 PRs, the release notes will be added in ref-to-be-added.