curve-operator
curve-operator copied to clipboard
Failed to update cluster and subresource status
When we update cluster obj or cluster status, sometimes the following errors occur.
failed to update cluster condition to {Type:Ready Status:True ObservedGeneration:0 LastTransitionTime:2023-04-25 16:26:28.49526704 +0800 CST m=+267.053386433 Reason:ReconcileSucceeded Message:Reconcile curvecluster successed}. failed to update object "curve/curvebs-cluster-cloud" status: Operation cannot be fulfilled on curveclusters.operator.curve.io "curvebs-cluster-cloud": the object has been modified; please apply your changes to the latest version and try again
But update it successfully finally. here may be reason.
- https://alenkacz.medium.com/kubernetes-operators-best-practices-understanding-conflict-errors-d05353dff421
- https://zyy.rs/post/operator-update-conflict/