27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
# Basic stress import: one chaosbasic container that hits all 6 valkeys
|
|
# in the project with a single readwriter each, plaintext :6379, AND
|
|
# serves the collector dashboard on :8080 (subdomain access on).
|
|
#
|
|
# Build/run config (incl. the startCommands that boot both the collector
|
|
# and the worker in the same container) lives in zerops.yaml under
|
|
# setup: chaosbasic.
|
|
#
|
|
# Use with: zcli project service-import zerops-basic-import.yaml
|
|
# Then: zcli push --setup chaosbasic
|
|
#
|
|
# Prereqs in the same project (e.g. via zerops-mega-import.yaml):
|
|
# valkeysingle1 / valkeysingle2 / valkeysingle3 (valkey:single@7.2)
|
|
# valkeyha1 / valkeyha2 / valkeyha3 (valkey:ha@7.2)
|
|
#
|
|
# NB — config-basic.yaml uses literal ${VALKEY_..._PASSWORD} strings in
|
|
# each worker's password field. applyZeropsOverrides today only honors
|
|
# a single $VALKEY_PASSWORD env var; extend it to expand ${VAR}
|
|
# references in each worker.Password against os.Getenv at load time
|
|
# before this will authenticate against the per-host passwords below.
|
|
|
|
services:
|
|
- hostname: chaosbasic
|
|
type: go@1
|
|
minContainers: 1
|
|
maxContainers: 1
|