From 7baaed46a9c649c4a8cb1a1996d2c5c149883304 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Tue, 10 Dec 2019 14:47:20 +0100 Subject: [PATCH] fix: consider kubeapi as unhealthy after 15 trials --- .releaserc.js | 2 +- internal/kinds/loadbalancers/dynamic/adapter/adapter.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.releaserc.js b/.releaserc.js index e373e927b..e67dc1d7e 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -9,7 +9,7 @@ module.exports = { {"path": "./artifacts/orbctl-FreeBSD-x86_64", "label": "FreeBSD x86_64"}, {"path": "./artifacts/orbctl-Linux-x86_64", "label": "Linux x86_64"}, {"path": "./artifacts/orbctl-OpenBSD-x86_64", "label": "OpenBSD x86_64"}, - {"path": "./artifacts/orbctl-Windows-x86_64", "label": "Windows x86_64"} + {"path": "./artifacts/orbctl-Windows-x86_64.exe", "label": "Windows x86_64"} ] }] ] diff --git a/internal/kinds/loadbalancers/dynamic/adapter/adapter.go b/internal/kinds/loadbalancers/dynamic/adapter/adapter.go index 37c8509dc..c5d6402a9 100644 --- a/internal/kinds/loadbalancers/dynamic/adapter/adapter.go +++ b/internal/kinds/loadbalancers/dynamic/adapter/adapter.go @@ -137,7 +137,7 @@ vrrp_sync_group VG1 { {{ range $idx, $vip := .VIPs }}vrrp_script chk_{{ $vip.IP }} { script "{{ healthcmd $vip.Transport }}" interval 2 # check every 2 seconds - fall 2 # require 2 failures for KO + fall 15 # require 2 failures for KO rise 2 # require 2 successes for OK }