-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
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 a Task. It shares all of the same fields as a Task but can be referenced regardless of the namespace that a TaskRun is executing in. By contrast a Task can only be referred to by a TaskRun 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 of ClusterTasks 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
- Solicit feedback from the community on usage of
ClusterTask - Present the results from this feedback to the API WG
- Assess overlap of
ClusterTaskswith other features Tekton Pipelines is pursuing - ... figure out the next next steps ...
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status
Status