Open mileshbhana opened 2 years ago
SCDF needs ability to update schedules when a user updates a task's version. Currently SCDF expects that once a schedule has been created it will be managed fully by the scheduler and thus does not store metadata about the schedule (except for what is returned by the scheduling system Cronjobs).
The workaround is to delete task or the schedule. https://dataflow.spring.io/docs/batch-developer-guides/continuous-deployment/cd-basics/#scheduling-on-kubernetes
A 'task upgrade' feature would be nice, but we don't have plans for that at the moment. I'll leave this issue open as a feature request.
Also mentioned here - https://github.com/spring-cloud/spring-cloud-dataflow/issues/4845
Hi,
Currently using SCDF to co-ordinate an Integration Engine in which our tasks are connectors between our system and external parties. This is deployed to a EKS environment.
We have these running as Scheduled Jobs.
I know that CI/CD is not currently support for Scheduled Jobs.
We are using another script that deletes all the scheduled jobs that match the updated application and reinstates them with the new version.
What are your recommended alternatives if the underlying task application changes?