summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2022-03-15 10:53:00 +0100
committerHarald Musum <musum@yahooinc.com>2022-03-15 10:53:00 +0100
commit31ce004fc2092e5d3dac251f595a66bba0dd140e (patch)
tree9370193d25f6cff2ceda6e7a4e11200dc939b4e4 /flags
parentd6f599c41830a79614197158b13cdfb86e3b9777 (diff)
Add feature flag for node architecture for admin clusters
Flag value will be used for implicitly created nodes in admin clusters (cluster controllers only for now)
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java7
1 files changed, 7 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 225c45fbfdb..b7217f6cb6c 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
@@ -247,6 +247,13 @@ public class PermanentFlags {
"version, the config server will refuse to serve config to nodes still running on older major versions",
"Takes effect immediately");
+ public static final UnboundStringFlag ADMIN_CLUSTER_NODE_ARCHITECTURE = defineStringFlag(
+ "admin-cluster-node-architecture", "x86_64",
+ "Architecture to use for node resources. Used when implicitly creating admin clusters " +
+ "(logserver, clustercontroller). Valid values: x86_64, arm64",
+ "Takes effect on next redeployment",
+ ZONE_ID, APPLICATION_ID, CLUSTER_ID, CLUSTER_TYPE);
+
private PermanentFlags() {}
private static UnboundBooleanFlag defineFeatureFlag(