aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/configserver.def
blob: 0f18298b434612f77053ab98a444d9ef94f25aa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=cloud.config

# Ports
rpcport int default=19070
httpport int default=19071
# 0 means use the number of CPU cores available
numRpcThreads int default=0

# ZooKeeper
zookeeperserver[].hostname string
zookeeperserver[].port int default=2181
# ZK write timeout in seconds, must be long enough to write application packages to other nodes
zookeeper.barrierTimeout long default=360
zookeeperLocalhostAffinity bool default=true
sessionLifetime long default=3600 # in seconds
# How long to wait for all ZooKeeper servers to reach barrier after quorum has reached barrier. In seconds
barrierWaitForAllTimeout long default=5

# Directories
configModelPluginDir[] string
configServerDBDir string default="var/db/vespa/config_server/serverdb/"
configDefinitionsDir string default="share/vespa/configdefinitions/"
fileReferencesDir string default="var/db/vespa/filedistribution/"

# Application package
# The maximum decompressed size of an application package, in bytes. Defaults to 8 GB
maxApplicationPackageSize long default=8589934592

# Misc
masterGeneration long default=0
multitenant bool default=false
numDelayedResponseThreads int default=1
serverId string default="localhost"
hostedVespa bool default=false
numParallelTenantLoaders int default=4
numRedeploymentThreads int default=4

# Configserver app
applicationDirectory string default="conf/configserver-app"

# Zone information
cloud string default="default"
environment string default="prod"
region string default="default"
system string default="main"
zoneDnsSuffixes[] string

# RPC protocol
maxgetconfigclients int default=1000000
maxoutputbuffersize int default=65536
useVespaVersionInRequest bool default=true
payloadCompressionType enum { UNCOMPRESSED, LZ4 } default=LZ4

# Athenz config
loadBalancerAddress string default=""
athenzDnsSuffix string default=""
ztsUrl string default=""

# Maintenance settings
maintainerIntervalMinutes int default=30
keepUnusedFileReferencesMinutes int default=300
keepSessionsWithUnknownStatusHours int default=24

# Bootstrapping
# How long bootstrapping can take before giving up (in seconds)
maxDurationOfBootstrap long default=7200
# Initial time for how long to sleep before redeploying again if it fails (in seconds)
# Code uses backoff, so wait time will increase for every iteration
sleepTimeWhenRedeployingFails long default=15

canReturnEmptySentinelConfig bool default=false
serverNodeType enum {config, controller} default=config