Reserve node memory to reduce OOM kills

This commit is contained in:
IamTheFij 2023-12-29 07:36:23 -08:00
parent 1a3c096b65
commit 7bc4ae1f8b

View File

@ -5,6 +5,7 @@ all:
hosts:
n1.thefij:
nomad_node_role: both
nomad_reserved_memory: 1024
# nomad_meta:
# hw_transcode.device: /dev/dri
# hw_transcode.type: intel
@ -26,12 +27,13 @@ all:
mode: "0755"
read_only: false
n2.thefij:
nomad_node_role: both
nomad_node_class: ingress
nomad_reserved_memory: 1024
nfs_mounts:
- src: 10.50.250.2:/srv/volumes
path: /srv/volumes/moxy
opts: proto=tcp,rw
nomad_node_class: ingress
nomad_node_role: both
nomad_unique_host_volumes:
- name: nextcloud-data
path: /srv/volumes/nextcloud
@ -47,6 +49,7 @@ all:
read_only: false
pi4:
nomad_node_role: both
nomad_reserved_memory: 512
nomad_meta:
hw_transcode.device: /dev/video11
hw_transcode.type: raspberry