-
Notifications
You must be signed in to change notification settings - Fork 205
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
feat: Adding StartDateTime, EndDateTime, and Timezones to NodePool Budgets #1447
base: main
Are you sure you want to change the base?
feat: Adding StartDateTime, EndDateTime, and Timezones to NodePool Budgets #1447
Conversation
Welcome @ant-smith! |
Hi @ant-smith. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ant-smith, tvonhacht-apple The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a3f8c91
to
5b629d7
Compare
Pull Request Test Coverage Report for Build 11001638159Details
💛 - Coveralls |
5b629d7
to
e5073ca
Compare
Hey @ant-smith, I notice there are a couple of use-case you're trying to solve, is it possible to pare them down to smaller distinct ideas? At a high level (stealing from your description), I see these as the core asks:
Is it possible to tackle these one by one? The best way would be to have an RFC and cut issues to get a gist of how important each issue is to other users. Specifically speaking, would the following solutions help?
For 4: Seems like a simple ease-of-use add that I think we should probably add in. Just need to verify how this works in practice. |
This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity. |
e5073ca
to
a0ec307
Compare
This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity. |
This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity. |
Fixes #1446
Description
This feature adds the capability for users to define a StartDateTime and EndDateTime for their nodepools, allowing single duration scheduling of allowed disruptions.
The functionality of the API stays the same if no StartDateTime and EndDateTime are defined.
The budget also now takes into account timezones for the defined cronSchedule and dateTime's. Without defining a timezone the functionality remains unchanged and will default to "UTC". Timezones follow the standard IANA "America/New_York" format.
Both StartDateTime and EndDateTime are defined in the RFC3339 standard formats minus the "(+|-)0700" timezone at the end of the format as timezones are supported as a separate parameter.
This feature overall will assist operations teams in the following ways:
How was this change tested?
Extensive tests were written within the test suite to test the existing functionality with timezones added, along with testing the functionality of the new DateTime feature.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.