aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/Host.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/Host.java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/Host.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/Host.java b/config-model/src/main/java/com/yahoo/vespa/model/Host.java
index 047a6ef9bd5..581f20cbfe9 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/Host.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/Host.java
@@ -8,13 +8,17 @@ import com.yahoo.config.model.producer.TreeConfigProducer;
import java.util.Objects;
/**
- * A physical host, running a set of services.
+ * A node with an identity, with some dedicated compute resources, running a set of services.
* The identity of a host is its hostname. Hosts are comparable on their host name.
*
* @author gjoranv
*/
public final class Host extends TreeConfigProducer<AnyConfigProducer> implements SentinelConfig.Producer, Comparable<Host> {
+ // Memory needed for auxiliary processes always running on the node (config-proxy, metrics-proxy).
+ // Keep in sync with node-repository/ClusterModel.
+ public static final double memoryOverheadGb = 0.7;
+
private ConfigSentinel configSentinel = null;
private final String hostname;
private final boolean runsConfigServer;