diff options
author | Harald Musum <musum@oath.com> | 2018-06-05 14:55:09 +0200 |
---|---|---|
committer | Harald Musum <musum@oath.com> | 2018-06-05 14:55:09 +0200 |
commit | eeb39b8c511cf4f04441d6c1c26ff9c20db8ccb2 (patch) | |
tree | e27c813804adfa51645348f95fcbadb93c6bbdc5 /container-core/src/main/resources | |
parent | d7e4a45dfcce14abba9acc93edd417aa502dccc3 (diff) |
Add initiallyInRotation to vip status config and inject config into VipStatus
Use config value for inital value of isInRotation() when nothing
is known about backend clusters
Diffstat (limited to 'container-core/src/main/resources')
-rw-r--r-- | container-core/src/main/resources/configdefinitions/vip-status.def | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/container-core/src/main/resources/configdefinitions/vip-status.def b/container-core/src/main/resources/configdefinitions/vip-status.def index 44da7292f05..1e364419ab8 100644 --- a/container-core/src/main/resources/configdefinitions/vip-status.def +++ b/container-core/src/main/resources/configdefinitions/vip-status.def @@ -6,9 +6,12 @@ namespace=container.core ## rotation, ignoring any status file. noSearchBackendsImpliesOutOfService bool default=true -## Whether to return hard coded reply or serve "status.html" from disk +## Whether to return hard-coded reply or serve "status.html" from disk accessdisk bool default=false ## The file to serve as the status file. -## If the paht is relative vespa home is prepended +## If the path is relative vespa home is prepended statusfile string default="share/qrsdocs/status.html" + +## The initial rotation state when no information is known about backend clusters +initiallyInRotation bool default=true |