k8s_logs
Retrieve Kubernetes pod logs to monitor application behavior and troubleshoot issues. Specify container, namespace, and time range for multi-container pods.
Instructions
Get pod logs. Specify container for multi-container pods.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod | Yes | Pod name | |
| namespace | No | Namespace | |
| container | No | Container name (for multi-container pods) | |
| tail | No | Lines from end | |
| since | No | Show logs since (e.g., 1h, 30m) |