https://flyte.org logo
Title
k

Kim Junil

08/11/2022, 5:32 AM
Hi all! My team is preparing to provide Pulumi to our researchers. We want to set a timezone that is familiar to researchers Can I set the default timezone? It's installed using helm chart on bare metal k8s
k

Ketan (kumare3)

08/11/2022, 6:16 AM
Sorry we don't follow -‘pulumi? Or you mean Flyte
All timezone - do you mean for scheduling
k

Kim Junil

08/11/2022, 8:59 AM
Oh, sorry not Pulumi.. I mean Flyte I want set default timezone displayed on Flyte or set timezone when using Cron schedule
k

Ketan (kumare3)

08/11/2022, 3:22 PM
Ohh we only schedule in UTC, but this is interesting requirement
Maybe it can be a client side thing?
k

Kim Junil

08/12/2022, 4:12 AM
Yes! I think i seems clear to set it on the client side.
CronSchedule(
    schedule="30 13 * * *",
    timezone="KST",
#or timezone="Asia/Seoul",
)
or set in
~/.flyte/config.yaml
k

Ketan (kumare3)

08/12/2022, 4:34 AM
Ya let's do it on the client side
The config is dangerous- and have to be careful, but I like the explicit nature
For system defaults we could use config - or env vars
Do you folks want to propose a change
Also confit in config.yaml cc @Yee I think we should carve out a flytekit section
k

Kim Junil

08/18/2022, 12:45 AM
If my team decides to develop this feature, I’ll contribute. Thank you!
❤️ 2