Skip to content

Backport: Add retry wrapper for FluxCD kubectl provisioners#878

Merged
theyoprst merged 1 commit intosoperator-release-2.0from
SCHED-1167/flacky-fluxcd-install
Mar 18, 2026
Merged

Backport: Add retry wrapper for FluxCD kubectl provisioners#878
theyoprst merged 1 commit intosoperator-release-2.0from
SCHED-1167/flacky-fluxcd-install

Conversation

@theyoprst
Copy link
Collaborator

@theyoprst theyoprst commented Mar 17, 2026

Summary

Problem

E2E tests fail intermittently during terraform apply when kubectl apply installs FluxCD:

read tcp 10.1.0.159:43748->89.124.41.133:443: read: connection reset by peer

Recent failure: run #23168190466

Transient k8s API unavailability can cause the flux_namespace and flux2
local-exec provisioners to fail on first attempt. A shared retry.sh script
(5 retries, 2 s interval by default) is placed in modules/scripts/ and
referenced from both provisioners so they recover automatically.
@theyoprst theyoprst merged commit 35051a3 into soperator-release-2.0 Mar 18, 2026
1 check passed
@theyoprst theyoprst deleted the SCHED-1167/flacky-fluxcd-install branch March 18, 2026 09:24
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.

2 participants