Skip to content

Prefer separate nodes for production Redis replicas - #2641

Merged
ejsmith merged 1 commit into
mainfrom
issue/redis-replica-placement
Oct 4, 2026
Merged

ejsmith merged 1 commit into
mainfrom
issue/redis-replica-placement

Conversation

@ejsmith

@ejsmith ejsmith commented Oct 4, 2026

Copy link
Copy Markdown
Member

Production Redis's primary and replica were scheduled on the same node, so a single node outage could make both unavailable. Add preferred pod anti-affinity with weight 100 across hostnames, scoped to this production cluster's Redis component.

This prefers separate nodes while allowing co-location when capacity is constrained. It does not make separation a hard scheduling requirement that could force additional node capacity. The change is limited to the production Redis scheduling policy; KubeBlocks/Redis versions, resources, replica counts, storage, and Sentinel configuration are unchanged.

Validation:

  • YAML parsing and semantic comparison confirm that only the scheduling preference changes; git diff --check passes.
  • A guarded patch passed server-side dry-run validation and was applied on October 4, 2026. KubeBlocks completed the rolling update, with both Redis pods ready on different existing nodes.
  • Replication and persistence checks passed; all three Sentinels reported a healthy primary and passed quorum checks. The node pool remained at five nodes.

No application API changes or breaking changes.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T21:17:22.092803Z 12b9c8e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 23% 23% 128 ❌
Exceptionless.Core 77% 68% 10825 ✔
Exceptionless.Insulation 51% 43% 370 ➖
Exceptionless.Web 86% 70% 9173 ✔
Summary 80% (27813 / 34874) 69% (13748 / 20064) 20496 ✔

@ejsmith
ejsmith merged commit f6c51fa into main Oct 4, 2026
22 checks passed
@ejsmith
ejsmith deleted the issue/redis-replica-placement branch October 4, 2026 21:33
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