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
Flag | Input type | Description | Default | Required |
---|---|---|---|---|
--exclude-namespaces | stringSlice | Specify 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-namespaces | stringSlice | Specify 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 , -m | string | Specify 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
Flag | Input type | Description | Default | Required |
---|---|---|---|---|
--exclude-namespaces | stringSlice | Specify 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-namespaces | stringSlice | Specify 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 , -m | string | Specify the MigrationSchedule to failover. Also specify the namespace of this MigrationSchedule using the -n flag | - | Yes |
--skip-source-operations | bool | If present, operations performed on the source cluster will be skipped, and applications on the current cluster will be scaled up | false | Optional |