Skip to content

Document ways to trigger/not trigger exponential backoff #808

Open
@djzager

Description

@djzager

Related to #617

As a user of controller-runtime, it is not immediately clear what returns from a Reconcile() will force a requeue with (or without) an exponential backoff. Some quick examples:

return reconcile.Result{requeue: true}, nil

return reconcile.Result{requeueAfter: time.Duration(60) * time.Second}, nil

// err != nil
return reconcile.Result{}, fmt.Errorf("My custom error string")

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions