Files
madbase/templates/worker-node.yaml
Vlad Durnea cffdf8af86
Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
wip:milestone 0 fixes
2026-03-15 12:35:42 +02:00

27 lines
603 B
YAML

id: worker-node
name: Worker Node
description: API worker nodes for horizontal scaling
version: 1.0
min_hetzner_plan: CX11
estimated_monthly_cost: 3.69
services:
- id: worker
name: MadBase Worker
image: madbase/worker:latest
replicas: 1
ports: ["8002-8020:8002-8020"]
- id: vmagent
name: VictoriaMetrics Agent
image: victoriametrics/vmagent:latest
ports: ["8429:8429"]
optional: true
requirements:
min_nodes: 1
max_nodes: 20
supports_ha: true
auto_scale:
enabled: true
metric: cpu_usage_percent
scale_up_threshold: 70
scale_down_threshold: 20