aboutsummaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@yahooinc.com>2022-10-26 14:53:45 +0200
committerValerij Fredriksen <valerijf@yahooinc.com>2022-10-26 14:53:45 +0200
commita8e5fb74c1ca3049488092bf153f48b84dbd795c (patch)
tree962231f1c56e5a21b0ac5f0b5fff8e5f1f8a1555 /flags
parent778c19f810e86598d3d96f5e7acc112597b2af07 (diff)
Allow overriding host flavor
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
index 7766faf28c7..f68f6816ec8 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
@@ -69,6 +69,12 @@ public class PermanentFlags {
"node resources of the host, the maximum number of containers, etc.",
"Takes effect on next iteration of DynamicProvisioningMaintainer.");
+ public static final UnboundStringFlag HOST_FLAVOR = defineStringFlag(
+ "host-flavor", "",
+ "Specifies the Vespa flavor name that the hosts of the matching nodes should have.",
+ "Takes effect on next deployment (including internal redeployment).",
+ APPLICATION_ID, CLUSTER_TYPE);
+
public static final UnboundBooleanFlag SKIP_MAINTENANCE_DEPLOYMENT = defineFeatureFlag(
"node-repository-skip-maintenance-deployment", false,
"Whether PeriodicApplicationMaintainer should skip deployment for an application",