Issues with Backup Scheduling Time Zone in k8s

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: k8s 备份调度时区问题

| username: h5n1

Which pod schedules the backupschedule task, and how to adjust it due to the 8-hour time zone difference in k8s?

| username: TiDBer_jYQINSnf | Original post link

Adjust the time zone when setting up scheduled tasks :grin:. The scheduling is done by the operator, the control manager pod.

| username: h5n1 | Original post link

How do I adjust the timezone for the backupschedule task? I haven’t seen any related parameters, and the timezone for the manager pod has not been corrected.

| username: yiduoyunQ | Original post link

  1. Adjust bks.spec.schedule as well, two negatives make a positive.
  2. Delete it and then redeploy the operator with the correct time zone (this does not affect TiDB operation).
| username: TiDBer_jYQINSnf | Original post link

I haven’t set it up either, just manually calculated it and adjusted the scheduled task time directly. For example, if you want to schedule a backup at 8 AM every day, just set it to midnight :smile:

| username: h5n1 | Original post link

I have adjusted the time zone of the controlmanager pod. Thank you both.

| username: h5n1 | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.