From 2b404c89d093bb23f91940819574824669e355dc Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Thu, 29 Jul 2021 19:07:30 +0800 Subject: [PATCH] fix(host,region): disable health checker by default --- pkg/compute/options/options.go | 2 +- pkg/hostman/options/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/compute/options/options.go b/pkg/compute/options/options.go index 697af5c371..17977ab9b2 100644 --- a/pkg/compute/options/options.go +++ b/pkg/compute/options/options.go @@ -143,7 +143,7 @@ type ComputeOptions struct { BaremetalServerReuseHostIp bool `help:"baremetal server reuse host IP address, default true" default:"true"` - EnableHostHealthCheck bool `help:"enable host health check" default:"true"` + EnableHostHealthCheck bool `help:"enable host health check" default:"false"` HostHealthTimeout int `help:"second of wait host reconnect" default:"60"` GuestTemplateCheckInterval int `help:"interval between two consecutive inspections of Guest Template in hour unit" default:"12"` diff --git a/pkg/hostman/options/options.go b/pkg/hostman/options/options.go index 8f5331a2dc..ee24d27af4 100644 --- a/pkg/hostman/options/options.go +++ b/pkg/hostman/options/options.go @@ -133,7 +133,7 @@ type SHostOptions struct { OvnUnderlayMtu int `help:"mtu of ovn underlay network" default:"1500"` EnableRemoteExecutor bool `help:"Enable remote executor" default:"false"` - EnableHealthChecker bool `help:"enable host health checker" default:"true"` + EnableHealthChecker bool `help:"enable host health checker" default:"false"` HealthDriver string `help:"Component save host health state" default:"etcd"` HostHealthTimeout int `help:"host health timeout" default:"30"` HostLeaseTimeout int `help:"lease timeout" default:"10"`