Doubt: When client-go serializes the http response into a k8s object, it deliberately deletes the gvk information

1) Phenomenon: k8s object loses gvk information

I got a pod object through client-go, but found that the whole object had no gvk information. After debugging, I found out that the gvk information was deliberately removed. I was very confused.

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/nangonghen/article/details/107647316