[One Workflow] Keep execution indices green on single-node clusters - #290445
Open
skynetigor wants to merge 1 commit into
Open
[One Workflow] Keep execution indices green on single-node clusters#290445skynetigor wants to merge 1 commit into
skynetigor wants to merge 1 commit into
Conversation
Set auto_expand_replicas 0-1 so default replicas do not yellow single-node clusters after eager index creation. Closes elastic/security-team#19297
|
🤖 Jobs for this PR can be triggered through checkboxes. 🚧
ℹ️ To trigger the CI, please tick the checkbox below 👇
|
skynetigor
marked this pull request as ready for review
September 11, 2026 08:41
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Unknown metric groupswarm start memory
Test Failures
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Beats single-node snapshot tests go yellow after Kibana start. Workflow execution indices were created with Elasticsearch’s default of 1 replica, which cannot allocate on one node. Health probes fail.
Approach
Same choice as
.workflows-events: auto-expand replicas from 0 to 1. Apply it on create, and update existing indices on the next Kibana start so already-yellow clusters recover.Behavior
On a single-node cluster, those indices run with 0 replicas and cluster health can stay green after boot. On two or more nodes they still get a replica. A failed settings update is logged and does not block startup.
Test plan
.workflows-executionsand.workflows-step-executionshave 0 replicas on one nodeReferences
Closes elastic/security-team#19297