-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I change the rancher-server timezone settings? #18913
Comments
Change the timezone of the underlying host? |
@cjellick I want to do it. I then scheduled a cronjob, but Rancher's time settings didn't change. |
+1. I have a scheduled job on my production cluster that is programmed like so : "0 6,12,18 * * *". Timezone is correctly set in the host node and i confirmed that with date command. But i noticed from workload logs that the job is executing at 8am, 2pm and 8pm everyday. Is there a timezone setting somewhere to configure in rancher cluster settings ? |
also having this problem, because rancher is using UTC, anda ll docker containers that execute from it are UTC, but my server host is CEST |
I also see this problem, host has the correct timezone set but rancher is off by 2 hours. |
Edit cluster.yaml (Edit cluster > Edit as YAML) and add this lines to services section:
After that configure correct timezone on Control Plane role nodes. |
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
What kind of request is this (question/bug/enhancement/feature request):
question
Steps to reproduce (least amount of steps as possible):
I want to use kubernetes cronjob. My timezone setting is UTC+9.
I believe that it is necessary to change the timezone setting of the rancher-server container.
Is there any other good way?
Result:
Other details that may be helpful:
Environment information
Rancher version (
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI):v2.1.7
Installation option (single install/HA):
single install
Cluster information
kubectl version
):docker version
):The text was updated successfully, but these errors were encountered: