refactor(roles): container memory limits are role variables #261

Merged
jfraeys merged 1 commit from jfraeys/refactor/container-memory-vars into main 2026-10-17 11:33:11 -04:00
Owner

Every deploy.resources.limits.memory in the services compose templates becomes a role default (<role>_memory_limit; exporters and watchtower per service). Defaults equal the current literals, so the rendered compose files are unchanged apart from quoting. After the OVH cutover, raise individual limits in inventory/host_vars/services.yml only (Linode and staging keep the small ones). Reservations stay literal.

Touches roles/** so staging-validate runs on merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ

Every `deploy.resources.limits.memory` in the services compose templates becomes a role default (`<role>_memory_limit`; exporters and watchtower per service). Defaults equal the current literals, so the rendered compose files are unchanged apart from quoting. After the OVH cutover, raise individual limits in `inventory/host_vars/services.yml` only (Linode and staging keep the small ones). Reservations stay literal. Touches roles/** so staging-validate runs on merge. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
refactor(roles): container memory limits are role variables
All checks were successful
Lint / lint (pull_request) Successful in 3m48s
Secret scan / scan (pull_request) Successful in 16s
07b732ddf9
Each compose limit is now <role>_memory_limit (exporters/watchtower: per service), default
= today's literal, so nothing changes. Raise per host in host_vars after the OVH cutover.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!261
No description provided.