summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-11-03 15:35:27 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2022-11-04 15:25:28 +0100
commitd0e5af97a5d4c09e2a3eed92a366bcaa76db040a (patch)
treea9a43be6ba77e746acc47dfe2580e49a2e97cbc7 /container-core
parent3aca43e7f71c54bb2ab61bc495f85e535d4cd3fd (diff)
- Remove cluster() from SystemInfo to only keep static information there.
- Instead provide only the cluster name. - If you need cluster information have Cluster injected directly.
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/main/resources/configdefinitions/container.qr.def3
1 files changed, 3 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 83bd57b6985..f28b00883a2 100644
--- a/container-core/src/main/resources/configdefinitions/container.qr.def
+++ b/container-core/src/main/resources/configdefinitions/container.qr.def
@@ -23,6 +23,9 @@ rpc.slobrokId string default="" restart
## this string will be unique for every QRS in a Vespa application.
discriminator string default="qrserver.0" restart
+## Cluster name
+clustername string default=""
+
## 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.