get_pod_logs
Retrieve the last N log lines from a pod, with support for reading logs from a previous crashed container instance.
Instructions
Fetch the last N log lines of a pod. Use previous=True to read logs from the previous (crashed) container instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod_name | Yes | ||
| previous | No | ||
| container | No | ||
| namespace | Yes | ||
| cluster_id | Yes | ||
| tail_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |