Update the kubernetes object's status with server-side apply
tenzen-y opened this issue · comments
/kind feature
Describe the solution you'd like
[A clear and concise description of what you want to happen.]
I'd like to replace the client-side apply with the server-side apply when the controller updates the any statuses like
Server-side applies allow us to avoid updating errors due to conflicts, and then it would reduce confusions for users.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Love this feature? Give it a 👍 We prioritize the features with the most 👍
@tenzen-y Could you plz explain what is client-side apply and server-side apply in details?
AFAIK, we usually use r.Status.Update()
in CRD operators to update the status of custom resources in k8s cluster. Do you mean that this way of updating status is "server-side apply"?
/assign