Skip to content
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

Unable to retrieve logs from crashed containers in k8s #9795

Open
dianabarsan opened this issue Feb 18, 2025 · 1 comment
Open

Unable to retrieve logs from crashed containers in k8s #9795

dianabarsan opened this issue Feb 18, 2025 · 1 comment
Assignees
Labels
Priority: 1 - High Blocks the next release. Type: Technical issue Improve something that users won't notice

Comments

@dianabarsan
Copy link
Member

Describe the issue
There is a problem with the observability stack:

  1. in K8S, once a container is gone, you can no longer access its logs - not 100% true, as logs can be accessed for a short time if the pod still exists, by passing the --previous parameter. but that's not a reasonable solution to create an consistent ability to troubleshoot crashed containers.
  2. It seems that Loki will, as well, delete logs from dead containers. People complaining here

Discovered while trying to get logs from a container that crashed on Feb 11th and there is no trace of it in logs in Grafana .

Describe the improvement you'd like
Troubleshooting and access to logs of crashed containers should be straightforward!

@dianabarsan dianabarsan added Priority: 1 - High Blocks the next release. Type: Technical issue Improve something that users won't notice labels Feb 18, 2025
@dianabarsan dianabarsan self-assigned this Feb 18, 2025
@Hareet
Copy link
Member

Hareet commented Feb 18, 2025

Our observability stack is here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 1 - High Blocks the next release. Type: Technical issue Improve something that users won't notice
Projects
None yet
Development

No branches or pull requests

2 participants