Action CRD reference
Action represents a task that will be performed once It is similar to k8s Job.
Action
| Field | Description | Type |
|---|---|---|
apiVersion | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | string |
kind | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | string |
spec | ActionSpec specifies the type of Action | object |
status | ActionStatus is the status of action operation | object |
spec fields
| Field | Description | Type |
|---|---|---|
spec.actionParameter | ActionParameter contains the parameters necessary for executing the specified action. | object |
spec.actionParameter.failbackParameter | FailbackParameter contains configuration specific to failback actions. | object |
spec.actionParameter.failbackParameter.failbackNamespaces | FailbackNamespaces lists the namespaces that will be failed back to the original source cluster. | array |
spec.actionParameter.failbackParameter.migrationScheduleReference | MigrationScheduleReference is the name of the MigrationSchedule CR that this action references. | string |
spec.actionParameter.failoverParameter | FailoverParameter contains configuration specific to failover actions. | object |
spec.actionParameter.failoverParameter.failoverNamespaces | FailoverNamespaces lists the namespaces that will be failed over to the destination cluster. | array |
spec.actionParameter.failoverParameter.migrationScheduleReference | MigrationScheduleReference is the name of the MigrationSchedule CR that this action references. | string |
spec.actionParameter.failoverParameter.skipSourceClusterDomainDeactivation | SkipSourceClusterDomainDeactivation, when true, skips deactivating the source cluster domain during failover. | boolean |
spec.actionParameter.failoverParameter.skipSourceOperations | SkipSourceOperations, when true, skips performing operations on the source cluster as part of failover. | boolean |
spec.actionType | ActionType defines the type of action to be executed. It can be one of the following: - failover - failback | string |
status fields
| Field | Description | Type |
|---|---|---|
status.finishTimestamp | FinishTimestamp records when the action reached a terminal state. | string |
status.reason | Reason provides a human-readable explanation for the current status. | string |
status.stage | ActionStageType is the stage of the action | string |
status.status | ActionStatusType is the current status of the Action | string |
status.summary | Summary contains a per-namespace breakdown of the action result. | object |
status.summary.failbackSummary | FailbackSummaryItem contains per-namespace summaries for failback actions. | array |
status.summary.failbackSummary.namespace | Namespace is the namespace on which the action was performed. | string |
status.summary.failbackSummary.reason | Reason is a human-readable summary of the outcome for this namespace. | string |
status.summary.failbackSummary.status | Status is the final status of the action for this namespace. | string |
status.summary.failoverSummary | FailoverSummaryItem contains per-namespace summaries for failover actions. | array |
status.summary.failoverSummary.namespace | Namespace is the namespace on which the action was performed. | string |
status.summary.failoverSummary.reason | Reason is a human-readable summary of the outcome for this namespace. | string |
status.summary.failoverSummary.status | Status is the final status of the action for this namespace. | string |