hashipi

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

commit 6e9eccfc4ca6199e7ac80bf8fa3ce4a8f083de0e
parent a40f40f06331bc0854465db7c51d39fd548768e8
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Wed,  7 Jun 2023 10:43:04 +0200

feat(nomad): increase heartbeat ttl

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

diff --git a/nomad.sh b/nomad.sh @@ -87,6 +87,12 @@ cat << EOF > /etc/nomad.d/server.hcl server { enabled = true bootstrap_expect = 3 + # https://developer.hashicorp.com/nomad/docs/configuration/server#client-heartbeats + # Increase heartbeat ttl under unreliable network conditions to prevent + # client: error heartbeating. retrying: error="failed to update status: rpc + # error: Not ready to serve consistent reads" + heartbeat_grace = "30s" + min_heartbeat_ttl = "30s" default_scheduler_config { scheduler_algorithm = "spread" memory_oversubscription_enabled = true