Skip to content
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

CRON_TZ documented for CronJob but actually not supported #30511

Closed
sftim opened this issue Nov 16, 2021 · 5 comments
Closed

CRON_TZ documented for CronJob but actually not supported #30511

sftim opened this issue Nov 16, 2021 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. language/en Issues or PRs related to English language priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/apps Categorizes an issue or PR as relevant to SIG Apps. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@sftim
Copy link
Contributor

sftim commented Nov 16, 2021

This is a Bug Report

Problem: CronJob documents that you can set CRON_TZ to force a CronJob to use a particular timezone. However, whilst that's possible it's an accident of how we implemented the v2 CronJob controller and not intended.

Proposed Solution:
Update the page to clarify that setting variables such as CRON_TZ is not supported within the cron time spec.

Page to Update:
https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/

Kubernetes Version: v1.22

Additional Information:
/sig apps
/language en
/priority important-soon
/kind bug

@sftim sftim added the kind/bug Categorizes issue or PR as related to a bug. label Nov 16, 2021
@k8s-ci-robot k8s-ci-robot added sig/apps Categorizes an issue or PR as relevant to SIG Apps. language/en Issues or PRs related to English language priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 16, 2021
@sftim
Copy link
Contributor Author

sftim commented Nov 16, 2021

#30509 aims to fix this.

@sftim
Copy link
Contributor Author

sftim commented Nov 16, 2021

/retitle CRON_TZ documented for CronJob but actually not supported

@k8s-ci-robot k8s-ci-robot changed the title CRON_TZ documented for CronJob but actually not upported CRON_TZ documented for CronJob but actually not supported Nov 16, 2021
@sftim
Copy link
Contributor Author

sftim commented Nov 16, 2021

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 16, 2021
@sftim
Copy link
Contributor Author

sftim commented Nov 20, 2021

/close
#30509 fixed it

@k8s-ci-robot
Copy link
Contributor

@sftim: Closing this issue.

In response to this:

/close
#30509 fixed it

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. language/en Issues or PRs related to English language priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/apps Categorizes an issue or PR as relevant to SIG Apps. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

2 participants