aboutsummaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2021-09-13 23:28:22 +0200
committerGitHub <noreply@github.com>2021-09-13 23:28:22 +0200
commitbb08873b35c620d242614658ded6e371cb1fa303 (patch)
treec7b3148470e28481f07defc75367b66b1dffbe07 /container-core
parent407296d4091a5cfd41d0a51f1f1a518cb35fc373 (diff)
parent8b99797f928b2f343cf3466d8fcb379ed422cbd3 (diff)
Merge pull request #19085 from vespa-engine/add-node-to-SystemInfo_take2
Add node to system info take2
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/resources/configdefinitions/container.qr.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/container-core/src/main/resources/configdefinitions/container.qr.def b/container-core/src/main/resources/configdefinitions/container.qr.def
index fe44b04e9d5..9d9b84eb428 100644
--- a/container-core/src/main/resources/configdefinitions/container.qr.def
+++ b/container-core/src/main/resources/configdefinitions/container.qr.def
@@ -23,5 +23,10 @@ rpc.slobrokId string default="" restart
## this string will be unique for every QRS in a Vespa application.
discriminator string default="qrserver.0" restart
+## Index of this container inside the cluster. Guaranteed to be non-negative
+## and unique for every container in a cluster, but not necessarily contiguous
+## or starting from zero.
+nodeIndex int default=0
+
## Force restart of container on deploy, and defer any changes until restart
restartOnDeploy bool default=false restart