mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
45 lines
1.9 KiB
YAML
45 lines
1.9 KiB
YAML
# Local docker-desktop HA testbed: quickstart bundled services + 3 replicas.
|
|||
|
|
#
|
||
|
|
# This is the baseline every mesh build redeploys onto (mesh lane, thread
|
||
|
|
# fa90bba8 / kickoff 5a760d8d). It layers the HA shape on top of the CI
|
||
|
|
# quickstart set (ci/quickstart-values.yaml): bundled Postgres/Redis/MinIO,
|
||
|
|
# chart-autogenerated secrets, membership enforcement off.
|
||
|
|
#
|
||
|
|
# Two lines carry HA:
|
||
|
|
# replicaCount: 3 — chart hard-requires Redis for buzz-pubsub
|
||
|
|
# (quickstart provides it); the git-hook HMAC
|
||
|
|
# secret autogenerates chart-side (secret-chart.yaml).
|
||
|
|
# persistence.git.enabled — false → per-pod emptyDir. The default (true) is a
|
||
|
|
# single ReadWriteOnce PVC that cannot multi-attach
|
||
|
|
# across 3 pods on one node; it would wedge 2/3.
|
||
|
|
# Object store + Postgres are the source of truth
|
||
|
|
# for git state, not local disk (values.yaml docs
|
||
|
|
# emptyDir as the correct multi-replica choice).
|
||
|
|
quickstart: true
|
||
|
|
postgresql:
|
||
|
|
enabled: true
|
||
|
|
redis:
|
||
|
|
enabled: true
|
||
|
|
minio:
|
||
|
|
enabled: true
|
||
|
|
relayUrl: wss://buzz.test.local
|
||
|
|
ownerPubkey: "0000000000000000000000000000000000000000000000000000000000000001"
|
||
|
|
relay:
|
||
|
|
# Testbed, not business-logic validation — same rationale as CI quickstart.
|
||
|
|
requireRelayMembership: false
|
||
|
|
podDisruptionBudget:
|
||
|
|
enabled: false
|
||
|
|
|
||
|
|
# ── HA shape ──────────────────────────────────────────────────────────────
|
||
|
|
replicaCount: 3
|
||
|
|
persistence:
|
||
|
|
git:
|
||
|
|
enabled: false
|
||
|
|
|
||
|
|
# Locally-built image; docker-desktop k8s shares the docker image store, so
|
||
|
|
# IfNotPresent resolves the tag with no push / `kind load` step.
|
||
|
|
image:
|
||
|
|
repository: buzz-relay
|
||
|
|
tag: mesh-local
|
||
|
|
pullPolicy: IfNotPresent
|