Skip to content

feat(logs): add support for previous container logs #256

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

samuelmasuy
Copy link

Add 'previous' parameter to pods_log tool to retrieve logs from terminated containers, equivalent to kubectl logs --previous functionality. This enables debugging of containers that have restarted due to crashes or updates.

Add 'previous' parameter to pods_log tool to retrieve logs from terminated containers, equivalent to kubectl logs --previous functionality.
This enables debugging of containers that have restarted due to crashes or updates.

Co-Authored-By: opencode <[email protected]>
Signed-off-by: Samuel Masuy <[email protected]>
@samuelmasuy
Copy link
Author

cc: @manusa

@manusa
Copy link
Member

manusa commented Aug 11, 2025

Needs reviewing, currently focused on authorization.
Please allow for some time to properly review (overall looks good).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants