Skip to main content
Version: 3.2

storkctl perform

perform actions

Example: storkctl perform <action> <flags>

note

The following commands support a set of global flags that can be used across all storkctl commands. For details, see the global flags section.

storkctl perform failback

Initiate failback of the given migration schedule

Example: storkctl perform failback -n <reverse-migration-schedule-namespace> <flags>

Flags

FlagInput typeDescriptionDefaultRequired
--exclude-namespacesstringSliceSpecify the comma-separated list of subset namespaces to be skipped during the failback. By default, all namespaces part of the MigrationSchedule are failed back[]Optional
--include-namespacesstringSliceSpecify the comma-separated list of subset namespaces to be failed back. By default, all namespaces part of the MigrationSchedule are failed back[]Optional
--migration-reference, -mstringSpecify the MigrationSchedule to failback. Also specify the namespace of this MigrationSchedule using the -n flag-Yes

storkctl perform failover

Initiate failover of the given migration schedule

Example: storkctl perform failover -n <migration-schedule-namespace> <flags>

Flags

FlagInput typeDescriptionDefaultRequired
--exclude-namespacesstringSliceSpecify the comma-separated list of subset namespaces to be skipped during the failover. By default, all namespaces part of the MigrationSchedule are failed over[]Optional
--include-namespacesstringSliceSpecify the comma-separated list of subset namespaces to be failed over. By default, all namespaces part of the MigrationSchedule are failed over[]Optional
--migration-reference, -mstringSpecify the MigrationSchedule to failover. Also specify the namespace of this MigrationSchedule using the -n flag-Yes
--skip-source-operationsboolIf present, operations performed on the source cluster will be skipped, and applications on the current cluster will be scaled upfalseOptional