diff options
Diffstat (limited to 'flags')
-rw-r--r-- | flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java | 7 |
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 34547d14616..0591163c931 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java @@ -219,6 +219,13 @@ public class PermanentFlags { "Takes effect immediately", ZONE_ID, APPLICATION_ID); + public static final UnboundBooleanFlag DEACTIVATE_ROUTING = defineFeatureFlag( + "deactivate-routing", false, + "Deactivates routing for an application by removing all reals from its load balancers. Used in " + + "cases where we immediately need to stop serving an application, i.e. in case of service violations", + "Takes effect on next redeployment", + APPLICATION_ID); + private PermanentFlags() {} private static UnboundBooleanFlag defineFeatureFlag( |