Skip to content

Enable Server Side Apply for Client Patch Calls #779

Open
@jonathan-innis

Description

@jonathan-innis

Description

What problem are you trying to solve?

Karpenter currently doesn't use Server Side Apply when making patch calls to the apiserver. This doesn't cause a ton of issues today since there aren't a ton of writers to the objects that we own (although the Node is a bit of an exception to this rule)

We should use Server Side Apply since then we can declare a set of managed fields that we own and ensure that only these fields are updated when we make a Patch call to the apiserver and no other updates are made to the object.

Server Side Apply Docs: https://kubernetes.io/docs/reference/using-api/server-side-apply/

How important is this feature to you?

It will prevent us from fighting and overwriting with other controllers that may also be trying to write different fields to the same object.

Related Issues

#660

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.operational-excellencepriority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.triage/acceptedIndicates an issue or PR is ready to be actively worked on.v1.xIssues prioritized for post-1.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions