control kubeflow pipelines v2 task caching to force re-execution when needed

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. Call task.set_caching_options(enable_caching=False) on a specific task object within the pipeline function to disable caching for just that step
  2. Alternatively, pass enable_caching when submitting a run via the client's create_run_from_pipeline_func to override caching for every component in that run
  3. To disable caching globally by default at compile time, use the --disable-execution-caching-by-default compiler flag or the KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT environment variable, set before importing any pipeline components
  4. Confirm which layer actually controls caching for your run, since run-level submission settings override individual per-task caching settings
  5. Re-run a pipeline after code or data changes and confirm the intended tasks actually re-execute rather than reusing a stale cached result

Known gotchas

Related routes

Configure Airflow KubernetesExecutor with pod templates and per-task pod overrides for resource isolation
airflow.apache.org · 6 steps · unrated
Configure Prefect 3 task result caching with cache_policy and cache_key_fn
data-engineering · 5 steps · unrated
pass artifacts between kubeflow pipelines v2 components using dsl.input and dsl.output
kubeflow.org/docs · 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