You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -150,6 +159,7 @@ var vacateAllocatorCmd = &cobra.Command{
150
159
PlanOverrides: allocator.PlanOverrides{
151
160
SkipSnapshot: skipSnapshot,
152
161
SkipDataMigration: skipDataMigration,
162
+
OverrideFailsafe: ec.Bool(overrideFailsafe),
153
163
},
154
164
}
155
165
iflen(args) ==1&&allocatorDownRaw!="" {
@@ -178,6 +188,7 @@ func init() {
178
188
vacateAllocatorCmd.Flags().Uint("concurrency", 8, "Maximum number of concurrent moves to perform at any time")
179
189
vacateAllocatorCmd.Flags().String("allocator-down", "", "Disables the allocator health auto-discovery, setting the allocator-down to either [true|false]")
180
190
vacateAllocatorCmd.Flags().Bool("move-only", true, "Keeps the cluster in its current -possibly broken- state and just does the bare minimum to move the requested instances across to another allocator. [true|false]")
191
+
vacateAllocatorCmd.Flags().Bool("override-failsafe", false, "If false (the default) then the plan will fail out if it believes the requested sequence of operations can result in data loss - this flag will override some of these restraints. [true|false]")
181
192
vacateAllocatorCmd.Flags().String("skip-snapshot", "", "Skips the snapshot operation on the specified cluster IDs. ONLY available when the cluster IDs are specified. [true|false]")
182
193
vacateAllocatorCmd.Flags().String("skip-data-migration", "", "Skips the data-migration operation on the specified cluster IDs. ONLY available when the cluster IDs are specified and --move-only is true. [true|false]")
-k, --kind string Kind of workload to vacate (elasticsearch|kibana)
55
55
-m, --maintenance Whether to set the allocator(s) in maintenance before performing the vacate
56
56
--move-only Keeps the cluster in its current -possibly broken- state and just does the bare minimum to move the requested instances across to another allocator. [true|false] (default true)
57
+
--override-failsafe If false (the default) then the plan will fail out if it believes the requested sequence of operations can result in data loss - this flag will override some of these restraints. [true|false]
57
58
--skip-data-migration string Skips the data-migration operation on the specified cluster IDs. ONLY available when the cluster IDs are specified and --move-only is true. [true|false]
58
59
--skip-snapshot string Skips the snapshot operation on the specified cluster IDs. ONLY available when the cluster IDs are specified. [true|false]
59
60
-t, --target stringArray Target allocator(s) on which to place the vacated workload
0 commit comments