Skip to content

415 Unsupported Media Type Error when Patching Node #995

Description

@zyx990426

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions