deploy 2GB swap files on Nimbus hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0e184b9e96
commit
b3e320e064
|
@ -30,6 +30,10 @@ bootstrap__extra_volume_path: '/docker'
|
||||||
# Disable Watchtower cleanup to avoid removal errors
|
# Disable Watchtower cleanup to avoid removal errors
|
||||||
bootstrap__watchtower_cleanup_flag: false
|
bootstrap__watchtower_cleanup_flag: false
|
||||||
|
|
||||||
|
# Beacon nodes can be quite memory hungry
|
||||||
|
swap_file_path: '/docker/main.swap'
|
||||||
|
swap_file_size_mb: 2048
|
||||||
|
|
||||||
# Custom SSH accounts for Nimbus fleet
|
# Custom SSH accounts for Nimbus fleet
|
||||||
bootstrap__active_users:
|
bootstrap__active_users:
|
||||||
- { name: adamb, uid: 7003, groups: [] }
|
- { name: adamb, uid: 7003, groups: [] }
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
- nimbus-master
|
- nimbus-master
|
||||||
- nimbus-slaves
|
- nimbus-slaves
|
||||||
tags: beacon-node
|
tags: beacon-node
|
||||||
|
roles:
|
||||||
|
- { role: swap-file, tags: swap-file }
|
||||||
tasks:
|
tasks:
|
||||||
- include_role:
|
- include_role:
|
||||||
name: infra-role-beacon-node
|
name: infra-role-beacon-node
|
||||||
|
|
|
@ -57,3 +57,7 @@
|
||||||
- name: systemd-timer
|
- name: systemd-timer
|
||||||
src: git@github.com:status-im/infra-role-systemd-timer.git
|
src: git@github.com:status-im/infra-role-systemd-timer.git
|
||||||
scm: git
|
scm: git
|
||||||
|
|
||||||
|
- name: swap-file
|
||||||
|
src: git@github.com:status-im/infra-role-swap-file.git
|
||||||
|
scm: git
|
||||||
|
|
Loading…
Reference in New Issue