pass artifacts between kubeflow pipelines v2 components using dsl.input and dsl.output

domain: kubeflow.org/docs · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Annotate a component output parameter with Output[ArtifactType] (e.g. Output[Model], Output[Dataset], Output[Metrics]) so the backend provisions a path for the component to write to
  2. Inside the component, write the artifact's contents to the provided .path attribute rather than returning it as a normal return value
  3. Annotate a downstream component's input parameter with Input[ArtifactType] to receive that artifact by reference
  4. Wire the pipeline function so the producing component's output artifact is passed as the argument to the consuming component's input parameter
  5. Use the built-in Artifact, Dataset, Model, and Metrics classes for common cases, or define custom artifact subclasses for domain-specific artifact types

Known gotchas

Related routes

control kubeflow pipelines v2 task caching to force re-execution when needed
kubeflow.org/docs · 5 steps · unrated
Compile and submit a Kubeflow Pipelines v2 pipeline to a self-managed Kubeflow cluster
www.kubeflow.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans