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

Workaround deserialization errors in Node API #97

Closed
olix0r opened this issue May 19, 2021 · 2 comments
Closed

Workaround deserialization errors in Node API #97

olix0r opened this issue May 19, 2021 · 2 comments

Comments

@olix0r
Copy link

olix0r commented May 19, 2021

We recently noticed some unexpected deserialization errors when reading core::v1::Node values. It turns out that there's a serialization bug in Kubernetes that can cause the names field to be encoded as null when it should be encoded as [].

I've created a branch with a small workaround and it looks like they intend to implement a similar workaround in the Python client.

Is there any interest in picking up a workaround in this repo? If so, do you have any pointers about how best to go about this in a way that will be maintainable until a Kubernetes fix is broadly available? Until such time, it's virtually impossible to use the Node API reliably with this library.

@Arnavion
Copy link
Owner

Duplicate of #93

@Arnavion Arnavion marked this as a duplicate of #93 May 19, 2021
@olix0r
Copy link
Author

olix0r commented May 19, 2021

@Arnavion sorry for the noise! thanks for the fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants