fix: temporal service config - add explicit ClusterIP services for history/matching
This commit is contained in:
@@ -32,6 +32,18 @@ cassandra:
|
|||||||
cluster:
|
cluster:
|
||||||
seedSize: 1
|
seedSize: 1
|
||||||
port: 9042
|
port: 9042
|
||||||
|
# Was landing 2 of 3 replicas on talos-cp-1 -- spread across nodes so a
|
||||||
|
# single overloaded node can't stall gossip/join for the whole ring.
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
app: cassandra
|
||||||
|
release: temporal
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
# ── Disable schema auto-setup (will initialize manually) ─────────
|
# ── Disable schema auto-setup (will initialize manually) ─────────
|
||||||
jobs:
|
jobs:
|
||||||
@@ -43,6 +55,19 @@ server:
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
jobService:
|
jobService:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# Spread frontend/history/matching/worker across nodes instead of letting
|
||||||
|
# them stack on whichever node the scheduler prefers (was: 59 of ~80
|
||||||
|
# cluster pods on talos-cp-1 alone). History's ringpop gossip join was
|
||||||
|
# timing out because 3 of its 4 peers sat on that overloaded node.
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/instance: temporal
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
config:
|
config:
|
||||||
logLevel: "info"
|
logLevel: "info"
|
||||||
persistence:
|
persistence:
|
||||||
|
|||||||
Reference in New Issue
Block a user