---
name: on-call-kubernetes-helper
description: "Collects recent deploys, failing pods and error log lines for a service when an alert fires, producing one read-only note. Use when an on-call alert arrives so the engineer starts with context before opening a terminal."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/on-call-kubernetes-helper/"
  kind: workflow
  hermes:
    tags: ["on-call", "kubernetes", "incidents"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Gather context for an on-call alert

Context for an alert before the on-call engineer opens a terminal.

## When to use

When an alert fires, have a bot collect recent deploys, pod events and logs into one note so the on-call engineer starts with context instead of a blank terminal.

## Inputs

- `alert_details`: The alert that fired, including which service it concerns.

## Steps

1. When something happens: Alert fires (An alert fires for a service)
2. Collects deploys, pods, logs
3. Read-only incident note

## Instructions

When an alert arrives, list deploys in the last two hours, failing pods and the last 50 error log lines for the service. Suggest likely causes but do not restart or change anything.

## Approvals

- Nothing in this job needs your approval.

## Output

Read-only incident note listing deploys from the last two hours, failing pods, the last 50 error log lines and suggested likely causes. (format: document)

## Source

Summarized in our own words from [Launch HN: Parity (YC S24) – AI for on-call engineers working with Kubernetes](https://news.ycombinator.com/item?id=41357765) (Hacker News, checked 2026-10-14). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/on-call-kubernetes-helper/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
