Tekton Persistent volumes #372
Answered
by
ghost
hiranlakshika
asked this question in
Q&A
-
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.
Answered by
ghost
Mar 5, 2021
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.
0 replies
Answer selected by
hiranlakshika
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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.