Skip to content

feat(safe-infrastructure): per-component resources + WEB_CONCURRENCY for cfg-web (0.1.21)#20

Merged
elasticroentgen merged 1 commit into
mainfrom
feat/safe-infrastructure-per-component-resources
Jul 3, 2026
Merged

feat(safe-infrastructure): per-component resources + WEB_CONCURRENCY for cfg-web (0.1.21)#20
elasticroentgen merged 1 commit into
mainfrom
feat/safe-infrastructure-per-component-resources

Conversation

@elasticroentgen

Copy link
Copy Markdown
Member

Summary

  • Adds per-component resources overrides (nginx, databases, redis, rabbitmq, txs, cfg, cgw, events, ui) with fallback to the global resources default.
  • Adds WEB_CONCURRENCY env to cfg-web (default 4). Without it the safe-config-service gunicorn spawns cpu_count() * 2 workers sized by the node, not the pod — on a 32-core node that's 64 workers × ~144Mi ≈ 9Gi, which is what saturated the 8Gi limit flagged in ETH-1844.
  • Bumps chart to 0.1.21.

Testing

  • helm lint clean, scripts/kube-score-charts.sh charts/safe-infrastructure passes.
  • helm template verified: component overrides render, unset components fall back to the global default, WEB_CONCURRENCY appears on cfg-web.

Needed by EthDevOps/internal-stack-iac gnosis-safe right-sizing (Linear ETH-1844).

🤖 Generated with Claude Code

@elasticroentgen elasticroentgen merged commit f2e66b6 into main Jul 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant