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

Scheduler Property Question

Open Grip-Jinsu opened this issue 2 years ago • 9 comments
trafficstars

I want to set the timezone as a property option when registering Spring Cloud Data Flow Scheduler. Is that possible? I've tried adding several options, but it didn't work

I would like to default to Asia/Seoul as timezone setting with CronJob spec when registering Scheduler.

스크린샷 2023-07-22 오후 4 47 18

Grip-Jinsu avatar Jul 22 '23 07:07 Grip-Jinsu

Thank you for opening the issue. Currently, Kubernetes does not appear to support the timezone as a part of the cronjob spec. https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#cron-job-limitations

If you feel this was closed in error please add a comment. Thanks!

cppwfs avatar Jul 25 '23 14:07 cppwfs

Hello, thank you for your reply. @cppwfs

As a result of my test, timeZone setting in spec was possible from Kubernetes 1.27 stable version. In fact, it worked well when I modified cronJob YAML myself.

The document you told me also specifies the corresponding version, but is it difficult to add the function?

30E30FF4-0986-403E-AE5D-FBE47CC2C9B6

Grip-Jinsu avatar Jul 25 '23 14:07 Grip-Jinsu

Thank you for the correction.

cppwfs avatar Jul 25 '23 14:07 cppwfs

Spring Cloud Deployer Kubernetes needs to add the ability to pass timezone to a cronjob. Note: The latest release of Fabric8 now supports it.

cppwfs avatar Jul 25 '23 15:07 cppwfs

Wow this is great news for me! Thank you :)

Grip-Jinsu avatar Jul 25 '23 17:07 Grip-Jinsu

Spring Cloud Deployer Kubernetes needs to add the ability to pass timezone to a cronjob. Note: The latest release of Fabric8 now supports it.

Is it in fabric8 5.x or 6.x

corneil avatar Jul 28 '23 09:07 corneil

Hello, can I use the docker hub image version as 2.0.11-SNAPSHOT when reflecting future features?

Also, please let me know how to set the scheduler property.

@cppwfs

Grip-Jinsu avatar Jul 29 '23 05:07 Grip-Jinsu

Currently, it is supported in the Fabric8 6.x line and the Spring Cloud Deployer Kubernetes will need to be upgraded to support it. Unfortunately, his will not be included in the 2.11.0 release. At our next team meeting, I'll see if we can schedule it for the 2.12 release.

cppwfs avatar Aug 01 '23 00:08 cppwfs

Hi @cppwfs

Is there a release schedule for version 2.12.0?

Grip-Jinsu avatar Aug 11 '23 09:08 Grip-Jinsu