Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
8-task cluster completion bringing 3-replica StatefulSet from isolated nodes to fully functional cluster: 1. Fix Gateway /metrics 500 (wire PrometheusHandle) 2. gRPC server + SWIM background tasks (probe, suspicion, gossip dissemination) 3. join() registers peers in membership table via PingResponse fields 4. Shard rebalancing on membership changes (deterministic round-robin) 5. API cluster wiring (DNS resolution, Gateway, gRPC, gossip broadcaster) 6. Single binary merge (stemedb-api --features cluster replaces stemedb-node) 7. Auth header forwarding (X-API-Key passed through Gateway to backends) 8. CORS restriction (STEMEDB_ALLOWED_ORIGINS env var, permissive fallback)
7 lines
266 B
Bash
7 lines
266 B
Bash
#!/bin/bash
|
|
# StemeDB entrypoint — single binary handles both standalone and cluster mode.
|
|
#
|
|
# In cluster mode (STEMEDB_CLUSTER_MODE=true), stemedb-api starts the Gateway,
|
|
# gRPC server, and SWIM membership internally alongside the HTTP API.
|
|
exec stemedb-api "$@"
|