-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Restore container logs from checkpoint #8290
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
Conversation
Hi @rst0git. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8290 +/- ##
==========================================
- Coverage 49.53% 49.49% -0.05%
==========================================
Files 153 153
Lines 16960 16975 +15
==========================================
Hits 8401 8401
- Misses 7511 7524 +13
- Partials 1048 1050 +2 |
A container checkpoint includes a copy of the logs file. However, this file is currently not used during restore. As a result, the output of `kubectl logs` for a restored container is empty. This patch extends the current functionality to enable restoring of container logs. Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
/ok-to-test |
Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rst0git, saschagrunert 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 |
/retest |
2 similar comments
/retest |
/retest |
What type of PR is this?
/kind bug
What this PR does / why we need it:
A container checkpoint includes a copy of the logs file. However, this file is currently not used during restore. As a result, the output of
kubectl logs
for a restored container is empty. This pull request extends the current functionality to enable restoring of container logs. This is particularly useful with applications such as Jupyter Notebooks that output an authentication token and access instructions in the container logs.Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?