Function pod_logs

Source
pub async fn pod_logs(
    path: Path<String>,
    query: Query<HashMap<String, String>>,
    pool: Data<PgPool>,
    user: AuthUser,
) -> ControllerResult<HttpResponse>
Expand description

GET /api/v0/main-frontend/status/pods/{pod_name}/logs

Returns logs from a specific pod.

Query parameters:

  • container: Optional - Container name (if pod has multiple containers)
  • tail: Optional - Number of lines to tail from the end (default: 1000, max: 10000)