pulumi / pulumi-kubernetes-operator

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

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

Open EronWright opened 4 hours ago

EronWright commented 4 hours 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 4 hours ago

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