Rename TektonScheduler to TektonKueue - #3809
Conversation
Rename the component API, controllers, generated clients, CRDs, manifests, and docs to match the Tekton Kueue project name. BREAKING CHANGE: TektonScheduler and TektonConfig.spec.scheduler are replaced by TektonKueue and TektonConfig.spec.kueue. Image overrides now use IMAGE_KUEUE_MANAGER and IMAGE_KUEUE_WEBHOOK. Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com> Assisted-by: PI Coding Agent
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3809 +/- ##
==========================================
+ Coverage 25.40% 25.69% +0.29%
==========================================
Files 449 457 +8
Lines 23477 23712 +235
==========================================
+ Hits 5964 6093 +129
- Misses 16822 16917 +95
- Partials 691 702 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
As you mentioned this is breaking change. we need to provide some backward compatibility. Something like. If you can keep the dummy TektonScheduler for some releases so existing TektonScheduler field does not create any issue and if present we need to move the config to TektonKueue. |
Retain deprecated TektonScheduler and spec.scheduler inputs during the transition. Migrate legacy configuration and resources to TektonKueue during pre-upgrade reconciliation, then remove old InstallerSets and the migrated resource. Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com> Assisted-by: PI Coding Agent
Ensure an empty deprecated scheduler configuration is omitted from serialized TektonConfig updates. This lets pre-upgrade remove spec.scheduler without failing CRD validation. Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com> Assisted-by: PI Coding Agent
|
@waveywaves - do we wait until the tekton-kueue project is moved to tektoncd org? |
for what is worth, it has moved in tektoncd org today 😛 |
Thank you 😄 @waveywaves could you update the import pkg references and components.yaml references. Thank you |
Changes
Rename the Operator component API from
TektonSchedulertoTektonKueue,including
TektonConfig.spec.kueue, controller wiring, generated clients andCRDs, RBAC, Helm and OperatorHub manifests, tests, and documentation.
Retain the deprecated
TektonSchedulerCRD andTektonConfig.spec.schedulerfield during a compatibility window. Pre-upgrade reconciliation migrates
existing configuration and legacy resources to
TektonKueue; explicitlyconfigured
spec.kueuevalues take precedence.A local kind upgrade from the pre-rename API verified that queue configuration
is preserved, legacy InstallerSets and resources are removed, both CRDs remain
served, pre-upgrade completes, and the migrated
TektonKueuereaches Ready.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lintbefore submitting a PRSee the contribution guide for more details.
Release Notes