Repository navigation
Tags
Tags
fix(operator): back off a manager that keeps dying, and scope its pre… …flight Two defects in the supervisor, both found by mirroring it into stageset-controller. The backoff reset keyed on availability, so a manager whose cache synced and which then failed on the next step reset the delay on every attempt and retried about once a second for as long as the cause lasted. A webhook server whose certificate has not been issued yet produces exactly that shape — in stageset-controller it managed 103 attempts in 76 seconds. The reset now keys on the manager having run for superviseHealthyRun (1m), so a fresh cause gets a fresh backoff while a manager that cannot stay up does not hammer the apiserver. The startup preflight took the process context, so every rebuilt manager left another goroutine behind, all of them logging the same missing CRD every 30 seconds. It takes a per-manager context now, cancelled when that manager's run returns. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
PreviousNext