Skip to content

fix(scout): one Scout pod at a time: Recreate strategy, bootstrap migration, SIGTERM drain - #571

Merged
ebourgeois merged 1 commit into
mainfrom
scout-recreate-and-sigterm
Oct 24, 2026
Merged

ebourgeois merged 1 commit into
mainfrom
scout-recreate-and-sigterm

Conversation

@ebourgeois

Copy link
Copy Markdown
Contributor

Scout upgrades ran the old and new pod side by side (RollingUpdate, no leader election) and both published; on kind a Service created mid-upgrade got records from both versions. The Scout Deployment now uses the Recreate strategy. bindy bootstrap scout merge-patches an existing Deployment to Recreate before its server-side apply, which the API server otherwise refuses while its defaulted rollingUpdate remains. Scout's source controllers drain on SIGTERM/SIGINT like the operator's, cutting the no-Scout gap per upgrade from the 30s grace period to under a second (measured on kind).

ADR-0002 amended; migration guide, Scout guide, CALM and threat model v1.31 updated.

Signed-off-by: Erick Bourgeois erick@jeb.ca

@ebourgeois
ebourgeois force-pushed the scout-recreate-and-sigterm branch 2 times, most recently from e109652 to e1822c8 Compare October 24, 2026 02:00
…ration, SIGTERM drain

Scout upgrades ran the old and new pod side by side (RollingUpdate, no leader election) and both published; on kind a Service created mid-upgrade got records from both versions. The Scout Deployment now uses the Recreate strategy. bindy bootstrap scout merge-patches an existing Deployment to Recreate before its server-side apply, which the API server otherwise refuses while its defaulted rollingUpdate remains. Scout's source controllers drain on SIGTERM/SIGINT like the operator's, cutting the no-Scout gap per upgrade from the 30s grace period to under a second (measured on kind).

ADR-0002 amended; migration guide, Scout guide, CALM and threat model v1.31 updated.

Signed-off-by: Erick Bourgeois <erick@jeb.ca>
@ebourgeois
ebourgeois force-pushed the scout-recreate-and-sigterm branch from e1822c8 to c4ab588 Compare October 24, 2026 13:52
@ebourgeois
ebourgeois merged commit d885da9 into main Oct 24, 2026
54 checks passed
@ebourgeois
ebourgeois deleted the scout-recreate-and-sigterm branch October 24, 2026 14:33
ebourgeois added a commit that referenced this pull request Oct 24, 2026
…IF upload (#572)

The semgrep job had no job-level permissions, inherited the read-only floor from #490 and failed every scheduled run since 2026-09-10 on 'Resource not accessible by integration'. Also records the Cargo.lock refresh that #571 carried (ctutils 0.4.3 -> 0.4.5, RUSTSEC-2026-0385).

Signed-off-by: Erick Bourgeois <erick@jeb.ca>
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