volcano icon indicating copy to clipboard operation
volcano copied to clipboard

TDM plugins suppose set up timezone

Open Jason-Liu-Dream opened this issue 3 years ago • 2 comments

What would you like to be added:

actions: "enqueue, reclaim, allocate, preempt" tiers:

  • plugins:
    • name: tdm arguments: tdm.revocable-zone.rz1: 10:00-21:00 tdm.revocable-zone.rz2: 12:00-14:00 tdm.timezone: Asia/Shanghai tdm.evict.period: 1m

Why is this needed:

1. some times we didn't know timezone of default date, especially when running in a container.
2. timezone like UTC is not very readable in our region,so we need to translate time,that not friendly,so let‘s make some things.

Jason-Liu-Dream avatar Jun 06 '22 02:06 Jason-Liu-Dream

https://github.com/volcano-sh/volcano/pull/2269#issuecomment-1146972249 I reply here. You can change the time zone in the container by mounting the files in the /usr/share/zoneinfo/ directory, which can also make the time zone of the container and the host different.

You say your approach is more intuitive. I have no objection to that.

hwdef avatar Jun 06 '22 09:06 hwdef

Hello 👋 Looks like there was no activity on this issue for last 90 days. Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗 If there will be no activity for 60 days, this issue will be closed (we can always reopen an issue if we need!).

stale[bot] avatar Sep 08 '22 22:09 stale[bot]

Closing for now as there was no activity for last 60 days after marked as stale, let us know if you need this to be reopened! 🤗

stale[bot] avatar Nov 12 '22 09:11 stale[bot]