You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use spring-cloud-dataflow(scdf) in the k8s environment.
As a team rule, the application and database time zone must be set to Asia/Seoul.
The timezone will be modified by changing the application property as follows. spring.cloud.dataflow.task.platform.kubernetes.accounts.default.environmentVariables=JAVA_TOOL_OPTIONS=-Duser.timezone=Asia/Seoul
However, in scdf dashboard, it is considered UTC and shows +9 at the stored time.
How can I set the dashboard default timezone?
@GYEOLELEE
The property spring.cloud.dataflow.task.platform.kubernetes.accounts.default.environmentVariables will only affect the timezone of deployed tasks.
Setting the environmentVariables to TZ=Asia/Seoul will apply to all programs in the pod as well as JVM.
Also configure the timezones of Dataflow and Skipper by adding to deployments.
@GYEOLELEE Can you provide a screen shot of the times that are not being displayed as expected. If this includes the desktop display of the system time it will be helpful.
@corneil Thank you so much for your response! Your guidance was instrumental in resolving our issue, and we truly appreciate the support you’ve provided. Our team can now move forward smoothly thanks to your help.
spring.cloud.dataflow.task.platform.kubernetes.accounts.default.environmentVariables=JAVA_TOOL_OPTIONS=-Duser.timezone=Asia/Seoul
However, in scdf dashboard, it is considered UTC and shows +9 at the stored time.
How can I set the dashboard default timezone?
GOAL: set timezone to scdf dashboard
Ref: https://stackoverflow.com/questions/77952329/spring-cloud-dataflow-ui-timezone-use-only-utc
Cc: @hotjoy
The text was updated successfully, but these errors were encountered: