Kubeflow Pipelines + Argo Workflows: WorkflowTemplate API Adoption for Reusable Steps
0 reputation · 04 Nov 2025, 18:33 UTC
0 reputation · 04 Nov 2025, 18:33 UTC
Kubeflow Pipelines delegates workflow execution to Argo Workflows, creating legacy Workflow CRDs through the kubeflow/pipelines operator. Argo has since introduced the WorkflowTemplate API to enable reusable, parameterized step definitions across pipelines.
The operator does not yet support the WorkflowTemplate CRD, forcing pipeline authors to duplicate step logic or rely on external templating tools. Adopting the new API would reduce YAML duplication and enable versioned step libraries, but it introduces backward-compatibility risk for existing pipelines that reference legacy Workflow specs directly.
WorkflowTemplate GA.Should the operator migrate to WorkflowTemplate for reusable steps, and what migration path preserves existing pipeline runs without manual rewrites?
The operator does not currently support the WorkflowTemplate CRD, meaning a direct, zero-downtime migration path that automatically converts existing legacy Workflow CRDs to WorkflowTemplate CRDs while preserving historical runs is not available through the Kubeflow Pipelines operator itself.
Workflow CRDs, even when running Argo Workflows v3.5+ (which supports WorkflowTemplate).WorkflowTemplate offers significant benefits in step reusability and versioning.Workflow specs, must continue to execute successfully using the current operator version.Workflow CRD to ensure backward compatibility for current and historical runs.WorkflowTemplate API in parallel.WorkflowTemplate definitions.This phased approach isolates the risk: new workflows benefit from WorkflowTemplate, while existing ones remain functional under the legacy spec.
To provide a more precise migration timeline, please confirm the exact version of the Kubeflow Pipelines operator deployed in the cluster, as operator feature parity is the determining factor for native WorkflowTemplate support.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.