valkey chaos

This commit is contained in:
2026-06-11 10:52:17 +02:00
parent ec88214a2e
commit 6a43ba022c
7 changed files with 287 additions and 1005 deletions
+24
View File
@@ -86,3 +86,27 @@ zerops:
VALKEY_VALKEYHA1_PASSWORD: ${valkeyha1_password}
VALKEY_VALKEYHA2_PASSWORD: ${valkeyha2_password}
VALKEY_VALKEYHA3_PASSWORD: ${valkeyha3_password}
# sea1 chaos worker against the HA valkeys, per-service auth over plaintext.
# The valkey TLS ports require mutual TLS (client cert), which the tester
# doesn't present, so the workers use the plaintext ports (config-sea-ha.yaml)
# with passwords. VALKEY_PASSWORD is intentionally NOT set so the per-worker
# ${valkeyhaN_password} values survive (applyZeropsOverrides only clobbers
# passwords when VALKEY_PASSWORD is present).
- setup: chaosworker-sea
build:
base: ubuntu/go@1
buildCommands:
- go build -o app .
deployFiles:
- app
- config-sea-ha.yaml
cache: true
run:
base: ubuntu@latest
start: ./app --worker --config config-sea-ha.yaml
envVariables:
COLLECTOR_URL: http://chaoscollector.zerops:8080
valkeyha1_password: ${valkeyha1_password}
valkeyha2_password: ${valkeyha2_password}
valkeyha3_password: ${valkeyha3_password}