Skip to content

cli: Search and print previous logs if failed #39347

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

Merged
merged 1 commit into from
May 6, 2025

Conversation

joestringer
Copy link
Member

If a pod has a restart count, then look up the logs for the previous
execution as well and print that for further investigation.

If a pod has a restart count, then look up the logs for the previous
execution as well and print that for further investigation.

Signed-off-by: Joe Stringer <joe@cilium.io>
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 5, 2025
@github-actions github-actions bot added cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary labels May 5, 2025
@joestringer joestringer added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label May 5, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 5, 2025
@joestringer joestringer removed the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label May 5, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 5, 2025
@joestringer joestringer added the release-note/misc This PR makes changes that have no direct user impact. label May 5, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 5, 2025
@joestringer
Copy link
Member Author

/test

@joestringer joestringer marked this pull request as ready for review May 6, 2025 00:42
@joestringer joestringer requested review from a team as code owners May 6, 2025 00:42
@joestringer joestringer requested review from gandro and gentoo-root May 6, 2025 00:42
@joestringer joestringer enabled auto-merge May 6, 2025 00:42
@joestringer joestringer added this pull request to the merge queue May 6, 2025
Merged via the queue into main with commit 5691941 May 6, 2025
217 checks passed
@joestringer joestringer deleted the pr/joe/cli-prev-errors branch May 6, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants