hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | README

commit 22736de3d8f37532f9abae2e425c66b46f302a44
parent 91ac2fad5842eba9bca2a290118843eab8d7752c
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Thu, 25 May 2023 00:22:09 +0200

feat(nomad): spread scheduling and preemption

Diffstat:
Mnomad.sh | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/nomad.sh b/nomad.sh @@ -101,6 +101,19 @@ cat << EOF > /etc/nomad.d/server.hcl server { enabled = true bootstrap_expect = 3 + default_scheduler_config { + scheduler_algorithm = "spread" + memory_oversubscription_enabled = true + reject_job_registration = false + pause_eval_broker = false + + preemption_config { + batch_scheduler_enabled = true + system_scheduler_enabled = true + service_scheduler_enabled = true + sysbatch_scheduler_enabled = true + } + } } vault {