Ansible-templated resource limits for weaker/stronger hosts #12
Labels
No labels
availability
bug
deployment-usability
duplicate
enhancement
help-wanted
question
security
stack-auth
stack-chat
stack-cleanup
stack-git
stack-mesh
stack-site-support
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: python-support/python-support-infra#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Docker stacks, using
resources: limits:
to define reserved/maximum CPU/RAM/IOPS usage of services is very important. If left out, simple DDoS attacks on one service can bring down the entire host and/or be catalysts for memory buffer attacks on other parts of the host system.However, reasonable limits may vary between different environments. Thus, the limits should be templated based on the capabilities of the hosts. Possibly manually, with a switch. Ansible already has all of this information readily available in the inventory.
Antible-templated resource limits for weaker/stronger hoststo Ansible-templated resource limits for weaker/stronger hosts