Tekton Persistent volumes #372
-
I'm really new to Tekton. According to the documentation, we need to provide a Persistent Volume for storage purposes. What is stored in the persistent volumes required by Tekton? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @hiranlakshika persistent storage is used to pass data between tasks in a pipeline. if task A checks out code from git and task B tests it then some persistent storage is required to get the code from task A's pod over to task B's pod. This happens through either the deprecated PipelineResources mechanism (documented here) or via workspaces. For anyone new to Tekton I'd generally advise against using PipelineResources if possible. |
Beta Was this translation helpful? Give feedback.
Hey @hiranlakshika persistent storage is used to pass data between tasks in a pipeline. if task A checks out code from git and task B tests it then some persistent storage is required to get the code from task A's pod over to task B's pod. This happens through either the deprecated PipelineResources mechanism (documented here) or via workspaces.
For anyone new to Tekton I'd generally advise against using PipelineResources if possible.