fdb-kubernetes-operator icon indicating copy to clipboard operation
fdb-kubernetes-operator copied to clipboard

Make use of server side apply to reduce conflicts

Open johscheuer opened this issue 3 years ago • 1 comments

What would you like to be added/changed?

We should look into using server side apply to reduce the conflicts that we see when updating the status of our resources. This means we have to change the Update status calls to use the appropriate Patch calls. We want to run some additional tests before merging this and we want to have a feature flag on the operator to enable/disable this feature (default should be false to match the current behaviour). We probably also have to adjust our Kubernetes mock to support the Patch call.

johscheuer avatar Jul 08 '22 10:07 johscheuer

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

johscheuer avatar Jul 08 '22 10:07 johscheuer