Add flag for setting config proxy max heap per cluster type
@@ -13,6 +13,7 @@ import java.util.Optional;
import java.util.TreeMap;
import static com.yahoo.vespa.flags.FetchVector.Dimension.APPLICATION_ID;
+import static com.yahoo.vespa.flags.FetchVector.Dimension.CLUSTER_TYPE;
import static com.yahoo.vespa.flags.FetchVector.Dimension.HOSTNAME;
import static com.yahoo.vespa.flags.FetchVector.Dimension.NODE_TYPE;
import static com.yahoo.vespa.flags.FetchVector.Dimension.TENANT_ID;
@@ -236,7 +237,15 @@ public class Flags {
"metrics-proxy-max-heap-size-in-mb", 256,
List.of("hmusum"), "2021-03-01", "2021-05-01",
"JVM max heap size for metrics proxy in Mb",
- "Takes effect when restarting metrics proxy");
+ "Takes effect when restarting metrics proxy",
+ CLUSTER_TYPE);
+
+ public static final UnboundIntFlag CONFIG_PROXY_MAX_HEAP_SIZE_IN_MB = defineIntFlag(
+ "config-proxy-max-heap-size-in-mb", 256,
+ List.of("hmusum"), "2021-03-15", "2021-05-15",
+ "JVM max heap size for config proxy in Mb",
+ "Takes effect on restart of Docker container",
+ CLUSTER_TYPE);
public static final UnboundStringFlag DEDICATED_CLUSTER_CONTROLLER_FLAVOR = defineStringFlag(
"dedicated-cluster-controller-flavor", "", List.of("jonmv"), "2021-02-25", "2021-04-25",
