-
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-0127: Larger results using sidecar logs: Validation, documentation and examples #5695
TEP-0127: Larger results using sidecar logs: Validation, documentation and examples #5695
Conversation
/kind feature |
/assign @jerop |
The following is the coverage report on the affected files.
|
/retest |
6890644
to
06bbc1d
Compare
The following is the coverage report on the affected files.
|
06bbc1d
to
4b7d862
Compare
The following is the coverage report on the affected files.
|
a9484cf
to
38fa068
Compare
The following is the coverage report on the affected files.
|
38fa068
to
5368fd1
Compare
The following is the coverage report on the affected files.
|
5368fd1
to
6f7b4a0
Compare
6f7b4a0
to
27e6a47
Compare
The following is the coverage report on the affected files.
|
27e6a47
to
2c61ea8
Compare
57b0cc3
to
2e39083
Compare
c0173a8
to
e8c0eea
Compare
The following is the coverage report on the affected files.
|
e8c0eea
to
335ee18
Compare
335ee18
to
35a6a2e
Compare
The following is the coverage report on the affected files.
|
…n and example tests Prior to this, we were extracting results from tasks via the termination messages which had a limit of only 4 KB per pod. If users had many results then the results would need to become smaller to obey the upper limit of 4 KB. We now run a dedicated sidecar that has access to the results of all the steps. This sidecar prints out the result and its content to stdout. The logs of the sidecar are parsed by the taskrun controller and the results updated instead of termination logs. We set an upper limit on the results to 4KB by default (configurable) and users can have as many such results as needed. This PR is the last one on issue tektoncd#5851 which deals with validation of sidecar name, documentation and examples. We validate that the user does not accidentally provide the reserved sidecar name as the name of their sidecar while the `results-from` feature has been set to `sidecar-logs`.
35a6a2e
to
f91575f
Compare
/hold cancel All PRs prior to this have been merged. This is the last of one. |
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.
thank you @chitrangpatel!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bendory, jerop 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 |
/lgtm |
@chitrangpatel - Can we modify the release notes with a line that describes the feature from an end user standpoint? And also mention that sidecars cannot be named the reserved sidecar name? |
Sure! |
This PR implements a part of TEP-0127 - entrypoint and sidecar binary (see tektoncd#5695). The sidecar binary relies on the Postfiles generated by the steps in /tekton/run/<step> to determine when a step has finished running. Once all the steps are done or if one of the step fails, the sidecar binary logs results to stdout.
This PR implements a part of TEP-0127 - entrypoint and sidecar binary (see tektoncd#5695). The sidecar binary relies on the Postfiles generated by the steps in /tekton/run/<step> to determine when a step has finished running. Once all the steps are done or if one of the step fails, the sidecar binary logs results to stdout.
Prior to this, we were extracting results from tasks via the termination messages which had a limit of only 4 KB per pod. If users had many results then the results would need to become smaller to obey the upper limit of 4 KB.
We now run a dedicated sidecar that has access to the results of all the steps. This sidecar prints out the result and its content to stdout. The logs of the sidecar are parsed by the taskrun controller and the results updated instead of termination logs. We set an upper limit on the results to 4KB by default (configurable) and users can have as many such results as needed.
This PR is the last one on issue #5851 which deals with validation of sidecar name, documentation and examples.
We validate that the user does not accidentally provide the reserved sidecar name as the name of their sidecar while the
results-from
feature has been set tosidecar-logs
.Changes
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes