pulumi / pulumi-kubernetes-operator

A Kubernetes Operator that automates the deployment of Pulumi Stacks
Apache License 2.0
226 stars 54 forks source link

implement a back-off for re-attempts at a failed update #677

Closed EronWright closed 1 month ago

EronWright commented 2 months ago

The stack controller seems to retry failed updates without using a backoff. The built-in reconciliation backoff kicks in only when reconcile returns an error, which isn't the case here.

Consider looking at lastUpdate.endTime to implement a backoff strategy when lastUpdate.status is failed. Assumedly the stack would stay marked as Reconciling (rather than Stalled).

cleverguy25 commented 2 months ago

Added to epic https://github.com/pulumi/pulumi-kubernetes-operator/issues/586