-
Notifications
You must be signed in to change notification settings - Fork 612
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
Log analyzer failed with multiple containers in the pod #884
Comments
@AlexsJones, I was going through the Line 44 in 78126b2
However, the comment states that it only fetches pods that are not running. Is this intentional? Line 43 in 78126b2
|
I think the comment is not correct, it does fetch logs from all the pods, but the issue is if the pod has multiple containers, it will return error because it does not fetch the log from individual container |
* Log analyzer failed with multiple containers in the pod #884 Signed-off-by: lwan3 <lili_wan@intuit.com> * Merge conflicts from main Signed-off-by: lwan3 <lili_wan@intuit.com> --------- Signed-off-by: lwan3 <lili_wan@intuit.com> Co-authored-by: lwan3 <lili_wan@intuit.com> Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
Checklist
Affected Components
K8sGPT Version
Latest
Kubernetes Version
No response
Host OS and its Version
No response
Steps to reproduce
Expected behaviour
The Log filter should scan all the containers and return the error logs if there is any
Actual behaviour
The Log filter returns a server error
Additional Information
No response
The text was updated successfully, but these errors were encountered: