-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrolling-update.env.example
More file actions
60 lines (48 loc) · 2.56 KB
/
rolling-update.env.example
File metadata and controls
60 lines (48 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copy this file outside the repo or export the same variables in your shell.
# Required: rollout order and advertised raft hosts.
NODES="n1=raft-1.internal.example,n2=raft-2.internal.example,n3=raft-3.internal.example"
# Optional: if SSH targets differ from advertised raft hosts.
# Values may be either hostnames or full user@host targets.
# SSH_TARGETS="n1=admin@ssh-1.internal.example,n2=ssh-2.internal.example,n3=ssh-3.internal.example"
# Optional: override rollout order without changing NODES.
# ROLLING_ORDER="n2,n3,n1"
IMAGE="ghcr.io/bootjp/elastickv:latest"
SSH_USER="deploy"
CONTAINER_NAME="elastickv"
DATA_DIR="/var/lib/elastickv"
SERVER_ENTRYPOINT="/app"
# Default rollout targets the etcd runtime. Keep this aligned with the engine
# that initialized the target data dir; switching an existing data dir between
# hashicorp and etcd is intentionally rejected.
RAFT_ENGINE="etcd"
RAFT_PORT="50051"
REDIS_PORT="6379"
DYNAMO_PORT="8000"
ENABLE_S3="true"
S3_PORT="9000"
S3_REGION="us-east-1"
S3_PATH_STYLE_ONLY="true"
# Optional: path to a JSON file containing static S3 credentials on the remote host.
# The file is bind-mounted read-only into the container.
# S3_CREDENTIALS_FILE="/etc/elastickv/s3-credentials.json"
# Optional: override if Redis routing addresses differ from the advertised raft hosts.
# RAFT_TO_REDIS_MAP="raft-1.internal.example:50051=redis-1.internal.example:6379,raft-2.internal.example:50051=redis-2.internal.example:6379,raft-3.internal.example:50051=redis-3.internal.example:6379"
# Optional: override if S3 routing addresses differ from the advertised raft hosts.
# RAFT_TO_S3_MAP="raft-1.internal.example:50051=s3-1.internal.example:9000,raft-2.internal.example:50051=s3-2.internal.example:9000,raft-3.internal.example:50051=s3-3.internal.example:9000"
HEALTH_TIMEOUT_SECONDS="60"
LEADERSHIP_TRANSFER_TIMEOUT_SECONDS="30"
LEADER_DISCOVERY_TIMEOUT_SECONDS="30"
ROLLING_DELAY_SECONDS="2"
SSH_CONNECT_TIMEOUT_SECONDS="10"
SSH_STRICT_HOST_KEY_CHECKING="accept-new"
# If set, this binary must already be executable on the local control host.
# RAFTADMIN_BIN="/absolute/path/to/linux/raftadmin"
RAFTADMIN_REMOTE_BIN="/tmp/elastickv-raftadmin"
RAFTADMIN_RPC_TIMEOUT_SECONDS="5"
RAFTADMIN_ALLOW_INSECURE="true"
# OOM defenses applied on 2026-04-24 after kernel OOM-SIGKILL cascades.
# GOMEMLIMIT makes Go GC before the container hits --memory; --memory keeps
# any kill scoped to the container, not host processes. Set either to "" to
# opt out. User EXTRA_ENV keys override matching keys in DEFAULT_EXTRA_ENV.
DEFAULT_EXTRA_ENV="GOMEMLIMIT=1800MiB"
CONTAINER_MEMORY_LIMIT="2500m"