-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Daylight savings time change broke node controller #5183
Comments
@smarterclayton Could you please explain the cause of the failure in more detail? Do we not normalize the timezone in the representation used in the API? |
When we serialize to JSON we are using a value that has a timezone embedded in it (time.Time). As a result the representation changed. We should normalize it as well during serialization, but in general creationTimestamp should not prevent an update since it can safely be ignored. |
I think we should allow creationTimestamp to be empty and also convert time to UTC() before marshaling. |
More specifically: We'd also want to change:
and
|
Makes sense to me - clients should always control their timezone and with distributed masters you might see different values. ----- Original Message -----
|
I'll own the follow up on this. ----- Original Message -----
|
+1 for UTC serialization |
Opened #5416 to marshal to utc when serializing
|
After the DST change:
We should be ignoring creationTimestamp on update.
The text was updated successfully, but these errors were encountered: