Prow Job Analyze Resource

Official

Visualize Kubernetes resource lifecycles in Prow jobs.

Authoropenshift-eng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Understanding the dynamic lifecycle of Kubernetes resources during CI test runs is challenging. This skill automates the extraction and visualization of resource-specific events from Prow CI job artifacts, providing an interactive timeline for debugging.

Core Features & Use Cases

  • Automated Log Parsing: Downloads and parses audit logs and pod logs from Google Cloud Storage.
  • Interactive HTML Timeline: Generates a visual, chronological timeline of resource events with filtering and search capabilities.
  • Glog Severity Detection: Automatically detects and highlights log levels (info, warn, error) from glog-formatted pod logs.
  • Flexible Resource Matching: Supports powerful regex patterns to search for single or multiple resources by name, kind, and namespace.
  • Use Case: When a Kubernetes resource behaves unexpectedly in a Prow CI job, provide the job URL and the resource name (e.g., pod/my-app). This skill will generate an interactive HTML report showing all related events, helping you trace its lifecycle and identify issues.

Quick Start

Example: Analyze a specific pod's lifecycle

User: "Analyze pod/etcd-0 in this Prow job: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/30393/pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn/1978913325970362368/"

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Prow Job Analyze Resource
Download link: https://github.com/openshift-eng/ai-helpers/archive/main.zip#prow-job-analyze-resource

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository