diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-06-03 13:42:34 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-06-03 13:42:34 +0000 |
commit | e8bc561b694a02a88d2b998e69117dc2364a469c (patch) | |
tree | 9173e5605bbba76a43fc905cd6f557249aab92fc /configdefinitions | |
parent | febff281154e2c431fd68e3b9bbf85c3d5ffaf1a (diff) |
add some configurable limits in sentinel config
Diffstat (limited to 'configdefinitions')
-rw-r--r-- | configdefinitions/src/vespa/sentinel.def | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/sentinel.def b/configdefinitions/src/vespa/sentinel.def index d318a55cccf..221deee6a68 100644 --- a/configdefinitions/src/vespa/sentinel.def +++ b/configdefinitions/src/vespa/sentinel.def @@ -17,6 +17,20 @@ application.environment string default="default" application.instance string default="default" application.region string default="default" +# Connectivity checks run before starting services and measure how +# many nodes in the Vespa cluster we can connect to and how many of +# those that can connect back to us. We delay starting services +# if we have more problems than the following limits allow: + +## Percentage we fail to talk to, maximum +connectivity.allowedBadOutPercent int default=100 + +## Percentage that fails to talk back to us, maximum +connectivity.allowedBadReversePercent int default=100 + +## Absolute number of nodes that fail to talk back to us, maximum +connectivity.allowedBadReverseCount int default=999999999 + ## The command to run. This will be run by sh -c, and the following ## environment variables are defined: $ROOT, $VESPA_SERVICE_NAME, ## $VESPA_CONFIG_ID |