Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#10537·pipeline

Support remote artifact transfer between PipelineTasks

Author: waveywavesCreated Aug 6, 2026Updated Sep 25, 2026
Labelskind/feature

Feature request

Support a stable way for PipelineTasks to exchange immutable file or directory artifacts through a configurable remote artifact repository, without requiring their TaskRun pods to share a PVC.

Problem

A PVC-backed Workspace is currently the primary way to pass files between TaskRuns. When the PVC is ReadWriteOnce, Tekton's coschedule: workspaces behavior correctly places the TaskRuns that share it on one node. This follows Kubernetes RWO semantics, but it also limits parallel branches to that node's CPU, memory, pod capacity, and storage bandwidth.

Disabling coscheduling does not make one RWO volume writable from multiple nodes. It can instead leave pods pending or produce volume attachment failures.

Requirements

A solution should allow a pipeline to:

  • declare an output artifact and reference it from one or more downstream PipelineTasks;
  • upload producer output to a configurable artifact repository and materialize it in pod-local storage for consumers;
  • schedule producer and consumer TaskRun pods independently across nodes;
  • carry only the artifact URI, digest, and non-sensitive metadata in Tekton status;
  • verify artifact integrity and report transfer failures through normal TaskRun and PipelineRun status;
  • define authentication, retry, retention, and garbage-collection behavior; and
  • keep artifact bytes out of the Pipelines controller data path.

This is not a request to change RWO or Affinity Assistant semantics. Concurrent mutation of one POSIX filesystem from multiple nodes would still require an RWX-capable storage backend.

Existing Tekton work

TEP-0147 implemented Phase 1 artifact provenance. The current Artifacts documentation describes an alpha mechanism for recording and passing artifact URI and digest metadata. TEP-0147 states that consumers receive metadata and remain responsible for fetching the raw data; its future work lists declarative artifacts and upload/download StepActions for different storage backends.

Related work and reports:

  • TEP-0139: Trusted Artifacts and tracking issue #9150
  • artifact provenance request #6326
  • same-node Workspace scheduling report #8346
  • Affinity Assistant node-capacity report #8015
  • considering PVC access modes in Affinity Assistant behavior #6989

This issue captures the cross-node artifact-transfer use case under #9150 rather than proposing different RWO scheduling behavior.

Comparable systems

Argo Workflows provides declarative input and output artifacts. Its executor transfers them through a configured artifact repository such as S3-compatible storage, GCS, Azure Blob, or HDFS:

yaml
outputs:
  artifacts:
  - name: data
    path: /tmp/data
# ...
arguments:
  artifacts:
  - name: data
    from: "{{tasks.producer.outputs.artifacts.data}}"
  • Argo artifact passing
  • Argo artifact repository configuration

Kubeflow Pipelines exposes typed artifact inputs and outputs as local paths while its backend maps those paths to object-store URIs under a pipeline root:

python
@dsl.component
def transform(source: Input[Dataset], output: Output[Dataset]):
    with open(source.path) as src, open(output.path, "w") as dst:
        dst.write(src.read())
  • Kubeflow Pipelines artifacts
  • Kubeflow Pipelines pipeline root

Neither system makes an RWO volume writable across nodes. They use immutable artifact transfer so each task can use local storage and be scheduled independently.

Alternatives available today

  • Add explicit download and upload steps to each Task, and pass artifact URIs and digests through Results.
  • Give each parallel branch an independent RWO PVC, optionally initialized from a CSI snapshot or clone when supported by the storage driver.
  • Use an RWX-capable distributed filesystem when tasks genuinely require a shared mutable filesystem.

These approaches work, but the first two do not provide a portable Tekton artifact contract or automatic handoff comparable to other workflow systems.

Use case

A pipeline fans out independent branches that consume the same immutable input and produce separate outputs. The available block-backed RWO storage has lower latency than the available RWX filesystem, but sharing one RWO Workspace causes the Affinity Assistant to place all branch pods on one node. The pipeline therefore cannot use aggregate compute capacity across the cluster.

Remote artifact transfer would allow each branch to use pod-local scratch or an independent RWO volume, run on a different node, and pass its immutable output to a fan-in task without requiring a shared RWX filesystem.

Source: tektoncd/pipeline

View original on GitHubView discussion on GitHub