Fix for Issue #71: KRS Health Doesn't Work Correctly on Multi-Container Pods
Description
This PR addresses the issue where krs health failed to correctly pull and analyze logs from multi-container pods. Specifically, the tool was hallucinating logs due to not pulling logs from all containers properly.
Changes Made
Added logic to check the status of each container within a pod. If it is not running, it will return the raw log of a specific failed container.
Updated the get_logs_from_pod function in the main.py file to correctly fetch logs from all containers within a pod.
Fix for Issue #71: KRS Health Doesn't Work Correctly on Multi-Container Pods
Description
This PR addresses the issue where
krs health
failed to correctly pull and analyze logs from multi-container pods. Specifically, the tool was hallucinating logs due to not pulling logs from all containers properly.Changes Made
get_logs_from_pod
function in themain.py
file to correctly fetch logs from all containers within a pod.