-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
CronJobs (previously ScheduledJobs) #19
Comments
@erictune fyi |
@soltysh On what SIG can I discuss this feature? I want to have a longer discussion about third-party resources for this feature and why we feel it needs to be built into core. |
Let's use SIG-Apps for now. There has not been a lot of discussion of controllers there, that I have seen, but lets try and see how it goes. |
Is this being considered for exclusion from the core? I had thought the proposal was already accepted. |
@gtaylor nothing has been decided yet. Currently it'll be part of alpha group in batch, what will happen when this migrates to more stable is not yet known. |
My understanding was that this was accepted into core, while job workflow was rejected for core. In fact we had originally planned to have it in 1.3. |
@soltysh I interpreted the comment as implying that it would be in core (based on the mention of alpha/beta and the statement "If someone were to produce a third-party version of scheduledJob, well before 1.4, and show that was comparably useful, that would be persuasive argument for the latter path" where the latter path was ThirdParty). |
@davidopp that comment was made when I thought SJ would be Beta in 1.4. Now it is going to Alpha in 1.4. The philosophy was that we can cancel an alpha feature for whatever reason, but we should have a pretty high bar for cancelling a beta feature. |
Also, to all working on SJ: we should continue work at full speed, despite the above conversation. Much of the work will apply either way, and we need to get some kind of feature out to users so they can give feedback. |
All SJ work is at full speed, the only remaining problem (hopefully) is to have kubernetes/kubernetes#29187 in. I'm hoping to discuss this issue with @smarterclayton today or over the weekend and have it merged so next week we should see one after the other SJ PRs being merged. |
@soltysh: it looks like #29187 was merged, does it mean next 1.4 alpha release will have SJ ready to play? |
@eghobo that's the plan. |
This needs docs in k8s.io, but it looks like code is in. Awesome! |
+100 |
@soltysh are docs considered done or are you adding more examples / tutorials? If docs are done we can check the docs box |
@janetkuo I usually mark them done once they merge. With that in mind I've checked the one against branch 1.4, the other will wait for merge. |
Since this was renamed to CronJobs I'll update the title to reflect that change as well. |
Is this going to be in beta for 1.5? |
@ConorNevin unfortunately not, see the beta requirements in the issue description what we need to address first to promote it to beta. Sorry 😞 Help with fixing those is highly encouraged though 😃 |
@JamesLaverack all PRs as outlined in the description, just checked we're all good 👍 |
Hey @soltysh - Could you open a PR on the KEP to mark the status as Thanks!! |
Per https://github.com/kubernetes/enhancements/tree/master/keps/sig-apps/19-Graduate-CronJob-to-Stable#release-122 we'll remove the old controller. But the old controller code hasn't been cleaned up. Is there a plan? @soltysh |
@salaxander opened #2925 fixing it The issue can't be closed, yet. We need to get rid of the old controller in 1.23 as the last element. /milestone v1.23 |
Hey @soltysh - 1.23 enhancements lead here! Are we just tracking the removal of the old controller for this release? We've got a PRR freeze in effect starting tomorrow, but that shouldn't impact this |
That's my thinking as well, the feature is off, we're just removing the ability to turn it on as pointed out in https://github.com/kubernetes/kubernetes/blob/2a88664eccdf02cd01777b48171873a028117737/pkg/features/kube_features.go#L841 so that's not requiring PRR. |
Hi @soltysh! 1.23 Docs team here. This enhancement issue is listed as 'None required' for docs in the tracking sheet. I wanted to confirm we don't have any changes related to this (feature gate docs, deprecation/removal notes, etc)? If not, please confirm and all good on our end. Otherwise, please follow the steps detailed in the documentation to open a PR against the dev-1.23 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Thu November 18, 11:59 PM PDT. Thanks! |
Hi @soltysh! I'm a 1.23 docs release team shadow. I'm checking that there is no documentation needed for this feature. CronJobControllerv2 is mentioned in the following K8s docs: Feature Gates and CronJob, Please confirm that the text in those places does not need to change. If changes are needed, please create a PR placeholder for the changes before Thu November 18, 11:59 PM PDT. Thanks! |
@chrisnegus since we're removing the feature gate in kubernetes/kubernetes#104470 I've opened kubernetes/website#30344 |
Thanks @soltysh! Does that cover the extent of changes you want to make? Is it ready to review? |
@chrisnegus yes, this is mostly cleaning bits after the old controller. |
Since the doc's folks recommended not changing the feature gate table, this is all ready now. |
Thanks @soltysh ! |
Enhancements graduated to stable, |
Enhancement Description
CronJobs (previously ScheduledJobs) are meant for performing all time-related actions, namely backups, report generation and the like. Each of these tasks should be allowed to run repeatedly (once a day/month, etc.) or once at a given point in time.
batch/v1
CronJob: switch storage version to batch/v1 in 1.22 kubernetes#102363batch/v1
Drop beta APIs from create command for PDBs and CronJobs kubernetes#101613batch/v1
Switch cronjob controller to batch/v1 kubernetes#99423The text was updated successfully, but these errors were encountered: