Skip to content

(opt) Add HealthCheckError and Configurable Retry Logic#1620

Merged
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:validate-health-retries
Feb 18, 2026
Merged

(opt) Add HealthCheckError and Configurable Retry Logic#1620
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:validate-health-retries

Conversation

@gianlucam76
Copy link
Member

@gianlucam76 gianlucam76 commented Feb 16, 2026

This PR introduces a specialized HealthCheckError type to
differentiate between clusterSUmmary deployment failures
and functional health check failures. It also adds a configurable
flag to control the retry interval when these health checks fail.

Introduced a new CLI flag --health-error-retry-time (default:
90 seconds). This allows the controller to back off specifically
on health check failures without impacting the standard reconciliation
requeue logic for other errors.
When a health check fails, the reconciler now uses the dedicated
healthErrorRetryTime duration.

@gianlucam76 gianlucam76 force-pushed the validate-health-retries branch from 4bd0368 to c5cce64 Compare February 17, 2026 20:23
@gianlucam76 gianlucam76 changed the title (opt) Optimize health check evaluation with internal retry loop (opt) Add HealthCheckError and Configurable Retry Logic Feb 17, 2026
@gianlucam76 gianlucam76 force-pushed the validate-health-retries branch from c5cce64 to ee61ef2 Compare February 17, 2026 20:35
This PR introduces a specialized HealthCheckError type to
differentiate between clusterSUmmary deployment failures
and functional health check failures. It also adds a configurable
flag to control the retry interval when these health checks fail.

Introduced a new CLI flag `--health-error-retry-time` (default:
90 seconds). This allows the controller to back off specifically
on health check failures without impacting the standard reconciliation
requeue logic for other errors.
When a health check fails, the reconciler now uses the dedicated
healthErrorRetryTime duration.
@gianlucam76 gianlucam76 force-pushed the validate-health-retries branch from ee61ef2 to 248f283 Compare February 18, 2026 07:56
@gianlucam76 gianlucam76 merged commit 913621d into projectsveltos:main Feb 18, 2026
8 checks passed
@gianlucam76 gianlucam76 deleted the validate-health-retries branch February 18, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments