-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tekton Creates PVC unnecessarily if volumes are defined #937
Comments
I see the same thing:
|
When ouputs of a Task are linked to the inputs of another we create a PVC (or use a bucket) to share the data between executing Tasks. However we were doing this even when no Resources were linked! Now we only do it when we need to. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
When ouputs of a Task are linked to the inputs of another we create a PVC (or use a bucket) to share the data between executing Tasks. However we were doing this even when no Resources were linked! Now we only do it when we need to. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
When ouputs of a Task are linked to the inputs of another we create a PVC (or use a bucket) to share the data between executing Tasks. However we were doing this even when no Resources were linked! Now we only do it when we need to. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: #937
Re-opening this b/c we had a massive bug (#1068) in our first attempt to fix this! 😅 🙏 |
Quick update: @dlorenc and I have been looking into this, and instead of tackling it directly, want to propose some updates to the way we've designed input + output linking. Stay tuned! |
When ouputs of a Task are linked to the inputs of another we create a PVC (or use a bucket) to share the data between executing Tasks. However we were doing this even when no Resources were linked! Now we only do it when we need to. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
When ouputs of a Task are linked to the inputs of another we create a PVC (or use a bucket) to share the data between executing Tasks. However we were doing this even when no Resources were linked! Now we only do it when we need to. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
We only need to make a PVC if a Pipeline contains tasks that declare Output resources of the allowed types. This PR changges our detection to only create a PVC under those conditions. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
We only need to make a PVC if a Pipeline contains tasks that declare Output resources of the allowed types. This PR changges our detection to only create a PVC under those conditions. This was originally attempted in tektoncd#1007 and then subsequently rolled back in tektoncd#1071. I *think* this one gets the logic correct :) Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
We only need to make a PVC if a Pipeline contains tasks that declare Output resources of the allowed types. This PR changges our detection to only create a PVC under those conditions. This was originally attempted in tektoncd#1007 and then subsequently rolled back in tektoncd#1071. I *think* this one gets the logic correct :) Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
We only need to make a PVC if a Pipeline contains tasks that declare Output resources of the allowed types. This PR changges our detection to only create a PVC under those conditions. This was originally attempted in tektoncd#1007 and then subsequently rolled back in tektoncd#1071. I *think* this one gets the logic correct :) Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
We only need to make a PVC if a Pipeline contains tasks that declare Output resources of the allowed types. This PR changges our detection to only create a PVC under those conditions. This was originally attempted in #1007 and then subsequently rolled back in #1071. I *think* this one gets the logic correct :) Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: #937
When ouputs of a Task are linked to the inputs of another we create a PVC (or use a bucket) to share the data between executing Tasks. However we were doing this even when no Resources were linked! Now we only do it when we need to. Co-authored-by: Christie Wilson <bobcatfish@gmail.com> Fixes: tektoncd#937
Okay so long story short, we've been working on completely overhauling PipelineResources #1673 by adding other features that may potentially replace them (e.g. workspaces + task results) - but this means we haven't addressed this issue and we definitely need to before beta, so I'm re-opening this. |
Oh! #1545 fixed this after all (apparently causing sorrow for folks who were relying on this implementation detail 😅 ) but good in the long run!!! |
Expected Behavior
I have task with no inputs or outputs. It should not have any PVCs.
Actual Behavior
But a PVC is created if the Task spec has volumes in it.
Steps to Reproduce the Problem
Additional Info
tekton 0.4
The text was updated successfully, but these errors were encountered: