generated from amazon-archives/__template_Apache-2.0
- Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Milestone
Description
There is interesting change in controller runtime reconciler. Added exponential back-off if Reconcile returns error. Also added TerminalError in case we need to stop retrying reconciliation for event.
https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile#Func.Reconcile
type Reconciler interface { // Reconcile performs a full reconciliation for the object referred to by the Request. // // If the returned error is non-nil, the Result is ignored and the request will be // requeued using exponential backoff. The only exception is if the error is a // TerminalError in which case no requeuing happens. // // If the error is nil and the returned Result has a non-zero result.RequeueAfter, the request // will be requeued after the specified duration. // // If the error is nil and result.RequeueAfter is zero and result.Reque is true, the request // will be requeued using exponential backoff. Reconcile([context](https://pkg.go.dev/context).[Context](https://pkg.go.dev/context#Context), [Request](https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile#Request)) ([Result](https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.16.3/pkg/reconcile#Result), [error](https://pkg.go.dev/builtin#error)) }There are some minor code changes required with update. Also run e2e tests suites after update.
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file