Workspace and artifacts

Transport plans between isolated workflow Pods.

A new Argo Pod does not inherit the previous Pod’s files or environment. The controller transports small execution signals, not plans, state or workspaces.

TransportUse
emptyDirContainers in the same Pod only
Per-workflow PVCSequential steps at identical paths; needs dynamic storage
Argo artifacts / S3Cross-Pod transport and retained evidence; configure repository and identity
Existing external storeWorkflow owns download, verification and access

The example pipeline template uses a PVC mounted at /workspace and volumeClaimGC. The IaC state remains in the Kubernetes backend. For EKS, the recommended reference is S3 artifacts plus a separate S3 state backend, not a shared PVC. See EKS lab setup.

volumeClaimTemplates:
  - metadata:
      name: workspace
    spec:
      accessModes: [ReadWriteOnce]
      resources:
        requests:
          storage: 1Gi

For an already configured S3-compatible artifact repository, declare an output and matching input artifact:

# Plan template
outputs:
  artifacts:
    - name: saved-plan
      path: /workspace/change.plan
# Subsequent steps task passes:
# arguments.artifacts[0].name: saved-plan
# arguments.artifacts[0].from: "{{steps.plan.outputs.artifacts.saved-plan}}"

The consuming template declares an input artifact with the same name and desired destination path. The governed development fixture shows the full workspace transport via artifacts.

Keep the exact reviewed binary plan, revision, provider lock file, backend binding, inputs and engine. Verify plan and workspace integrity and revalidate target/state before mutation. Never silently re-plan and apply after approval. Backend locking remains required. Restrict access, encrypt artifacts, scope keys and retention, and clean temporary workspaces. Plans may contain sensitive data; do not put them into status, parameters or public logs. The controller does not provision storage or artifact repositories.

Build a pipeline from scratch · Execution CLI reference