HOMELAB-463: Zookeeper soft anti-affinity to spread across workers #87

Merged
claude-agent merged 1 commit from plane/HOMELAB-463-wk02-cpu into live 2026-03-27 06:18:12 +00:00
Owner

Summary

  • Adds zookeeper.podAntiAffinityPreset: soft to Langfuse ClickHouse subchart
  • Spreads 3 Zookeeper pods across prod-wk-01 and prod-wk-02 instead of all 3 landing on wk-02

Root cause context

The dominant wk-02 CPU driver is the Longhorn instance-manager (2335m, uncapped) serving ClickHouse data I/O — structural, follows data locality. Full resolution requires Longhorn volume migration (separate effort). This PR is a partial improvement.

Test plan

  • ArgoCD syncs Langfuse cleanly
  • Zookeeper pods spread across both workers after rollout
  • Langfuse traces continue working
## Summary - Adds `zookeeper.podAntiAffinityPreset: soft` to Langfuse ClickHouse subchart - Spreads 3 Zookeeper pods across prod-wk-01 and prod-wk-02 instead of all 3 landing on wk-02 ## Root cause context The dominant wk-02 CPU driver is the Longhorn instance-manager (2335m, uncapped) serving ClickHouse data I/O — structural, follows data locality. Full resolution requires Longhorn volume migration (separate effort). This PR is a partial improvement. ## Test plan - [ ] ArgoCD syncs Langfuse cleanly - [ ] Zookeeper pods spread across both workers after rollout - [ ] Langfuse traces continue working
HOMELAB-463: add Zookeeper soft pod anti-affinity to spread across workers
Some checks failed
0/0 projects applied successfully.
CI Review / pr-title (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
0166494cb6
Spreads 3 Zookeeper replicas across prod-wk-01 and prod-wk-02 to reduce
I/O concentration on prod-wk-02. Root cause of high CPU is ClickHouse data
volume I/O via Longhorn instance-manager (structural, follows data locality).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!87
No description provided.