Hi, I tried to use the patchNode function (https://kubernetes-client.github.io/javascript/classes/corev1api.corev1api-1.html#patchnode) to patch a node. However, I kept getting the 415 error. I have tried the suggested solution to add content-type header as 'application/json-patch+json' or 'application/merge-patch+json', but none of these works.
Could someone help me on this by giving a successful example of using PatchNode? Thank you very much!
Hi, I tried to use the patchNode function (https://kubernetes-client.github.io/javascript/classes/corev1api.corev1api-1.html#patchnode) to patch a node. However, I kept getting the 415 error. I have tried the suggested solution to add content-type header as 'application/json-patch+json' or 'application/merge-patch+json', but none of these works.
Could someone help me on this by giving a successful example of using PatchNode? Thank you very much!