You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* supress conflict errors and retry it in 5 seconds by default
* supress context.Cancelled errors, it either timeout or operator gracefull shutdown
* supress notFound object errors. Most probably it's race condition at kubernetes state and operator cache
* create kubernetes API event with object link in case of reconcile error. It must help investigate operator issue faster
* adds retry.OnConflict for statefulset and deployment updates
#900#901
Currently, operator may produce a conflict error if object was already modified by some kubernetes controller or any other external controller.
This error can be retried with the following code:
https://alenkacz.medium.com/kubernetes-operators-best-practices-understanding-conflict-errors-d05353dff421
https://pkg.go.dev/k8s.io/client-go/util/retry#RetryOnConflict
The text was updated successfully, but these errors were encountered: