From fee935aa3b2395b6f477bd74f0cb7ddfb03b0e91 Mon Sep 17 00:00:00 2001 From: Bruce Becker Date: Sun, 15 Oct 2023 09:22:22 +0200 Subject: [PATCH] fix(csi,hostpath): upgrade version to 1.12 Signed-off-by: Bruce Becker --- csi-hostpath.nomad | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/csi-hostpath.nomad b/csi-hostpath.nomad index 7bdb5b0..8c87758 100644 --- a/csi-hostpath.nomad +++ b/csi-hostpath.nomad @@ -8,7 +8,7 @@ variable "go_version" { variable "plugin_version" { type = string description = "Version of Hostpath csi plugin to use" - default = "1.9.0" + default = "1.12.0" } @@ -17,15 +17,15 @@ job "plugin-csi-hostpath-controller" { datacenters = ["dc1"] type = "system" update { - max_parallel = 1 - // health_check = "checks" - // min_healthy_time = "10s" - // healthy_deadline = "5m" - // progress_deadline = "10m" + max_parallel = 2 + health_check = "checks" + min_healthy_time = "120s" + healthy_deadline = "5m" + progress_deadline = "10m" auto_revert = true auto_promote = true canary = 1 - // stagger = "30s" + stagger = "30s" } group "controller" { @@ -88,8 +88,8 @@ PATH=${NOMAD_ALLOC_DIR}/usr/local/go/bin:${PATH} install bin/hostpathplugin ${NO task "plugin" { resources { - cpu = 10 # 10 MHz - memory = 25 # 25MB + cpu = 20 # 10 MHz + memory = 50 # 25MB } // service { // tags = ["csi"]