get_previous_pod_logs
Retrieve logs from a pod's previous crashed or terminated container to troubleshoot failures.
Instructions
Get logs from the previous (crashed/terminated) instance of a pod container.
Shortcut for get_pod_logs(..., previous=True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| container | No | ||
| namespace | No | default | |
| tail_lines | No | ||
| cluster_alias | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |