spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

Explore options to support pausing all the available schedules

Open sabbyanandan opened this issue 6 years ago • 1 comments

As a CF user, I'd like to have the option to pause-all the schedules, so I can explicitly pause them before upgrading the CF foundation/platform.

Notes:

  • Gives me an opportunity to finish all the currently running batch-jobs and plan for a downtime (I need to have downtime, it is a requirement, and I'm OK with it).
  • Provides me an option to cleanly upgrade the foundation without having to worry about side effects from tasks getting launched while the platform is being upgraded.
  • I can resume the schedules when the platform is successfully upgraded.

Next:

  • Investigate to see if there's a pause endpoint in PCF scheduler. If there's none, submit a feature request.
  • Study the same functionality in K8s.

sabbyanandan avatar Jun 07 '19 15:06 sabbyanandan

Thanks a lot for this proporsal!! I was waiting for this for a long time!

with this functionnality, would it be possible to add the following option:

  • interrupt a specific schedule.

I have a requirement : I have a batch that index at regular intervals data in elasticsearch. When I need to perform a maintenance or upgrade in elasticsearch, I have to delete the schedule and recreate it after. With this additional option, I would only have to pause the specific schedule.

Manokethan avatar Jun 10 '19 16:06 Manokethan