Revert "fix(temporal): deploy Cassandra + Elasticsearch, pin chart to v0.74.0 (older version with sub-chart support)"

This reverts commit cc5325d905.
This commit is contained in:
Story Crater Bot
2026-07-21 12:42:16 -07:00
parent cc5325d905
commit 328a713f4f
2 changed files with 31 additions and 39 deletions
+30 -38
View File
@@ -1,20 +1,39 @@
# k8s/temporal/temporal-values.yaml
# Temporal — workflow engine for story-crater backend async task orchestration.
# Chart: temporal/temporal v1.6.0 from https://go.temporal.io/helm-charts
# Chart: temporal/temporal from https://go.temporal.io/helm-charts
#
# Uses Cassandra for default store (workflow history/events)
# Uses Elasticsearch for visibility store (namespace/workflow queries)
# This is the chart's native, well-tested configuration.
# ── Sub-charts ────
# Cassandra and Elasticsearch deployed as dependencies
# ── Datastores configuration ────
# Disable auto-deployed PostgreSQL (we use external ddb for other services)
postgresql:
enabled: false
# Enable Elasticsearch for visibility store (deployed to worker node, 2Gi/4Gi memory)
elasticsearch:
enabled: true
scheme: http
host: temporal-elasticsearch
port: 9200
version: v7
logLevel: error
auth:
enabled: false
indices:
visibility: temporal_visibility_v1
# Cassandra enabled for template validation; server.config overrides with actual hosts
# Schema job template requires cassandra config to exist at top level
cassandra:
enabled: true
replicas: 3
cluster:
seedSize: 1
port: 9042
# Spread replicas across nodes to avoid single-node bottleneck
# 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:
@@ -26,25 +45,6 @@ cassandra:
release: temporal
topologyKey: kubernetes.io/hostname
elasticsearch:
enabled: true
replicas: 1
auth:
enabled: false
env:
cluster.name: temporal
discovery.type: single-node
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "1Gi"
cpu: "500m"
postgresql:
enabled: false
# ── Disable schema auto-setup (will initialize manually) ─────────
jobs:
autoSetup:
@@ -76,27 +76,19 @@ server:
numHistoryShards: 512
datastores:
default:
# Cassandra for workflow history/events
# Cassandra for workflow history and events
driver: cassandra
cassandra:
hosts: "temporal-cassandra-0.temporal-cassandra.temporal.svc.cluster.local,temporal-cassandra-1.temporal-cassandra.temporal.svc.cluster.local,temporal-cassandra-2.temporal-cassandra.temporal.svc.cluster.local"
hosts: "temporal-cassandra"
port: 9042
keyspace: temporal
user: cassandra
password: ""
user: user
password: "" # Cassandra auth disabled in deployment
replicationFactor: 3
consistency:
default:
consistency: LOCAL_QUORUM
serialConsistency: LOCAL_SERIAL
maxConnsPerHost: 32
visibility:
# Elasticsearch for visibility store (workflow queries)
elasticsearch:
url: "http://elasticsearch.temporal.svc.cluster.local:9200"
scheme: http
logLevel: info
bulkProcessor:
bulkActions: 1000
consistency: local_quorum
serialConsistency: local_serial
service:
type: ClusterIP
+1 -1
View File
@@ -14,7 +14,7 @@ spec:
sources:
- repoURL: https://go.temporal.io/helm-charts
chart: temporal
targetRevision: "0.74.0"
targetRevision: "*"
helm:
valueFiles:
- $values/k8s/applications/temporal/temporal-values.yaml