find_pipeline
Search Tekton pipelines and runs across Kubernetes namespaces using name patterns, labels, or annotations to identify specific workflows.
Instructions
Find Tekton pipelines matching a pattern across all accessible namespaces.
Searches PipelineRuns/TaskRuns by name, labels, or annotations using cluster-wide queries.
Args:
pipeline_id_pattern: Pattern to match (partial name, label value, or substring).
include_taskruns: Include TaskRuns in search results (default: False for performance).
max_results: Maximum matching results to return per resource type (default: 100).
namespaces: Optional list of namespaces to search (default: all namespaces).
pipeline_runs_limit: Max PipelineRuns to fetch from API (default: 1000).
task_runs_limit: Max TaskRuns to fetch from API if include_taskruns=True (default: 500).
Returns:
Dict[str, Any]: Keys: pipeline_runs, task_runs, pipelines_as_code, all_namespaces_checked,
diagnostic_info, substring_matches.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id_pattern | Yes | ||
| include_taskruns | No | ||
| max_results | No | ||
| namespaces | No | ||
| pipeline_runs_limit | No | ||
| task_runs_limit | No |