-
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
Where should we take ClusterTasks
next?
#4476
Comments
One quick note there, OpenShift Pipelines ships with several |
Using Remote Resolution it's possible to emulate ClusterTasks and ClusterPipelines. Here's a resolver that does exactly this: https://github.com/sbwsg/clusterresolver This works by keeping all the "Cluster-Scoped" Tasks and Pipelines in one private namespace. The Resolver has exclusive access to those resources and returns them to anyone who asks from any namespace. So an operator/admin can add or remove "ClusterTask" and "ClusterPipeline" by |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
we still need to figure this out /remove-lifecycle stale |
/lifecycle frozen I'd like to propose deprecating ClusterTasks, now that remote resolution (+ the cluster resolver) will be moving into Pipelines. @abayer WDYT? |
Relates to tektoncd#4476 and https://github.com/tektoncd/community/blob/main/teps/0096-pipelines-v1-api.md This resolver replaces `ClusterTask`s going forward. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
Relates to tektoncd#4476 and https://github.com/tektoncd/community/blob/main/teps/0096-pipelines-v1-api.md This resolver replaces `ClusterTask`s going forward. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
Relates to tektoncd#4476 and https://github.com/tektoncd/community/blob/main/teps/0096-pipelines-v1-api.md This resolver replaces `ClusterTask`s going forward. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
Relates to tektoncd#4476 and https://github.com/tektoncd/community/blob/main/teps/0096-pipelines-v1-api.md This resolver replaces `ClusterTask`s going forward. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
Relates to #4476 and https://github.com/tektoncd/community/blob/main/teps/0096-pipelines-v1-api.md This resolver replaces `ClusterTask`s going forward. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
@abayer have clusterTasks been officially deprecated? I'm happy to open a PR deprecating them now that the cluster resolver is in pipelines |
Not officially, I don't believe, so yeah, that'd be great! |
Feature request
We've discussed the possible future of
ClusterTasks
in our API Working Group but haven't created an issue for it yet as far as I can see. The intention for this issue is to act as the focal point for discussion around the feature, its future, and where we see it going within the context of Tekton Pipelines' other features.Background
ClusterTask
is a CRD that Tekton Pipelines provides that is the cluster-scoped equivalent of aTask
. It shares all of the same fields as aTask
but can be referenced regardless of the namespace that aTaskRun
is executing in. By contrast aTask
can only be referred to by aTaskRun
in the same namespace.While
ClusterTask
has been part of the codebase for a long time it's unclear precisely how much use it actually sees in practice. In our own dogfooding of Tekton Pipelines we don't currently leverage the resource but it does get exercised by unit and integration testing.There have been some requests for a cluster-scoped
Pipeline
(#1876, #4432) and as part of those discussions there have definitely been a number of messages in support ofClusterTasks
too. At the same time Tekton has introduced support for Bundles (an OCI image with Tasks and Pipelines, stored in a registry) that seems to provide a lot of the same benefit as cluster-scoped Task / Pipeline resources (accessible regardless of the namespace that a TaskRun or PipelineRun is executing in). More recently we've also been making moves to expand the number of places that Tekton Pipelines can access Tasks and Pipelines from, such as git repositories.Next Steps
ClusterTask
ClusterTasks
with other features Tekton Pipelines is pursuingThe text was updated successfully, but these errors were encountered: