kube-controller-demo icon indicating copy to clipboard operation
kube-controller-demo copied to clipboard

uses patch() instead of update()

Open aaronlevy opened this issue 8 years ago • 0 comments

It's possible that new versions of kubernetes introduce new fields in objects (e.g. "taints" on node objects in v1.6). If we use update() rather than patch() we possibly will clear these fields inadvertently if our client-go is not up-to-date enough to know about the new fields.

Discussion of running into this issue with flannel: https://github.com/coreos/flannel/issues/667#issuecomment-293150531

aaronlevy avatar Jun 19 '17 22:06 aaronlevy