Reserve node memory to reduce OOM kills
This commit is contained in:
parent
1a3c096b65
commit
7bc4ae1f8b
@ -5,6 +5,7 @@ all:
|
|||||||
hosts:
|
hosts:
|
||||||
n1.thefij:
|
n1.thefij:
|
||||||
nomad_node_role: both
|
nomad_node_role: both
|
||||||
|
nomad_reserved_memory: 1024
|
||||||
# nomad_meta:
|
# nomad_meta:
|
||||||
# hw_transcode.device: /dev/dri
|
# hw_transcode.device: /dev/dri
|
||||||
# hw_transcode.type: intel
|
# hw_transcode.type: intel
|
||||||
@ -26,12 +27,13 @@ all:
|
|||||||
mode: "0755"
|
mode: "0755"
|
||||||
read_only: false
|
read_only: false
|
||||||
n2.thefij:
|
n2.thefij:
|
||||||
|
nomad_node_role: both
|
||||||
|
nomad_node_class: ingress
|
||||||
|
nomad_reserved_memory: 1024
|
||||||
nfs_mounts:
|
nfs_mounts:
|
||||||
- src: 10.50.250.2:/srv/volumes
|
- src: 10.50.250.2:/srv/volumes
|
||||||
path: /srv/volumes/moxy
|
path: /srv/volumes/moxy
|
||||||
opts: proto=tcp,rw
|
opts: proto=tcp,rw
|
||||||
nomad_node_class: ingress
|
|
||||||
nomad_node_role: both
|
|
||||||
nomad_unique_host_volumes:
|
nomad_unique_host_volumes:
|
||||||
- name: nextcloud-data
|
- name: nextcloud-data
|
||||||
path: /srv/volumes/nextcloud
|
path: /srv/volumes/nextcloud
|
||||||
@ -47,6 +49,7 @@ all:
|
|||||||
read_only: false
|
read_only: false
|
||||||
pi4:
|
pi4:
|
||||||
nomad_node_role: both
|
nomad_node_role: both
|
||||||
|
nomad_reserved_memory: 512
|
||||||
nomad_meta:
|
nomad_meta:
|
||||||
hw_transcode.device: /dev/video11
|
hw_transcode.device: /dev/video11
|
||||||
hw_transcode.type: raspberry
|
hw_transcode.type: raspberry
|
||||||
|
Loading…
Reference in New Issue
Block a user