debugging-pipeline-failures

Diagnose Konflux Tekton pipeline failures using kubectl and Tekton CLI.

8|12|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/konflux-ci/skills --skill debugging-pipeline-failures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debugging-pipeline-failures
Source: https://github.com/konflux-ci/skills/tree/main/skills/debugging-pipeline-failures
Command: npx skills add https://github.com/konflux-ci/skills --skill debugging-pipeline-failures

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When Konflux pipelines fail, this skill provides a disciplined, phase-driven approach to diagnose and fix issues using standard Kubernetes and Tekton tooling.

Core Features & Use Cases

  • Systematic 5-phase investigation (Identify failed component, Log analysis, Event correlation, Resource inspection, Root-cause analysis)
  • Common failure patterns with actionable checks (ImagePullBackOff, resource quotas, timeouts, PVCs, etc.)
  • Command cheat-sheets with kubectl/Tekton guidance to retrieve logs, events, and resource details

Quick Start

Use this skill whenever a PipelineRun or TaskRun fails. It will guide you through kubectl commands like kubectl describe pipelinerun, kubectl logs, and kubectl get events to pinpoint the root cause.

Frequently Asked Questions about debugging-pipeline-failures

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a failed Konflux pipeline using kubectl and logs?

Debugging Konflux pipeline failures involves a systematic 5-phase approach: identify the failed PipelineRun or TaskRun component, analyze logs using kubectl logs, correlate Kubernetes events, inspect resource state (CPU, memory, quotas), and perform root-cause analysis. Use kubectl describe pipelinerun, kubectl logs, and kubectl get events to retrieve diagnostic data across phases.

What causes ImagePullBackOff and resource quota errors in Tekton pipelines?

ImagePullBackOff occurs when container images cannot be pulled due to registry access or image availability issues. Resource quota errors happen when TaskRuns exceed allocated CPU, memory, or PVCs. This Skill guides you through kubectl commands to inspect PipelineRun events, check namespace quotas, and identify OOMKilled or quota-exceeded conditions triggering pipeline timeouts or failures.

Can I use kubectl and Tekton CLI to investigate stuck or timed-out pipelines?

Yes. Stuck or timed-out pipelines are diagnosed by correlating PipelineRun and TaskRun status, examining kubectl events and logs, and inspecting workspace or permission issues. Standard kubectl tooling and the Tekton CLI retrieve resource details, event timelines, and step-by-step logs needed to pinpoint whether delays stem from resource constraints, workspace misconfiguration, or permission denials.

What's the systematic approach to root-cause analysis for Konflux pipeline failures?

Root-cause analysis follows a disciplined 5-phase investigation: identify the failed component within the PipelineRun, analyze logs from affected TaskRuns, correlate Kubernetes events for timing and error patterns, inspect resource state (memory, CPU, quotas, PVCs), and synthesize findings into actionable remediation steps. This Skill provides command cheat-sheets and common failure patterns to accelerate diagnosis.

How do workspace and permission issues affect Tekton pipeline execution?

Workspace misconfigurations or insufficient permissions can cause TaskRun failures or hangs. This Skill helps you inspect workspace mounts, verify ServiceAccount permissions, and correlate permission-related errors in kubectl events and logs to resolve access barriers preventing pipeline progression or task completion.

What tools and commands do I need to diagnose Tekton pipeline failures?

Standard Kubernetes and Tekton tooling suffice: kubectl (describe, logs, get events commands), the Tekton CLI, and log and event correlation techniques. This Skill requires no additional dependencies—it teaches how to use kubectl and Tekton commands to retrieve PipelineRun state, TaskRun logs, and Kubernetes events for systematic failure diagnosis.