Compile and submit a Kubeflow Pipelines v2 pipeline to a self-managed Kubeflow cluster

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

Steps

  1. Install the kfp SDK and author a pipeline using @dsl.component and @dsl.pipeline from the kfp.dsl module
  2. Compile it to an IR YAML file with compiler.Compiler().compile(pipeline_func, package_path='./pipeline.yaml')
  3. Instantiate kfp.Client() pointed at your self-hosted KFP API server host, providing a namespace if running multi-user Kubeflow
  4. Submit the compiled package with client.create_run_from_pipeline_package(pipeline_file, arguments={...}, experiment_name=...), or compile-and-submit in one step with create_run_from_pipeline_func
  5. Alternatively submit from the CLI with kfp run create --experiment-name '...' --package-file './pipeline.yaml'

Known gotchas

Related routes

control kubeflow pipelines v2 task caching to force re-execution when needed
kubeflow.org/docs · 5 steps · unrated
pass artifacts between kubeflow pipelines v2 components using dsl.input and dsl.output
kubeflow.org/docs · 5 steps · unrated
Configure Buildkite pipelines with dynamic pipeline upload, per-step agents with custom queues, and artifact passing between steps with integrity verification
Buildkite · 6 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