Skip to main content
Version: 3.5

Action CRD reference

Action represents a task that will be performed once It is similar to k8s Job.

Action

FieldDescriptionType
apiVersionAPIVersion 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
kindKind 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
specActionSpec specifies the type of Actionobject
statusActionStatus is the status of action operationobject

spec fields

FieldDescriptionType
spec.actionParameterActionParameter contains the parameters necessary for executing the specified action.object
spec.actionParameter.failbackParameterFailbackParameter contains configuration specific to failback actions.object
spec.actionParameter.failbackParameter.failbackNamespacesFailbackNamespaces lists the namespaces that will be failed back to the original source cluster.array
spec.actionParameter.failbackParameter.migrationScheduleReferenceMigrationScheduleReference is the name of the MigrationSchedule CR that this action references.string
spec.actionParameter.failoverParameterFailoverParameter contains configuration specific to failover actions.object
spec.actionParameter.failoverParameter.failoverNamespacesFailoverNamespaces lists the namespaces that will be failed over to the destination cluster.array
spec.actionParameter.failoverParameter.migrationScheduleReferenceMigrationScheduleReference is the name of the MigrationSchedule CR that this action references.string
spec.actionParameter.failoverParameter.skipSourceClusterDomainDeactivationSkipSourceClusterDomainDeactivation, when true, skips deactivating the source cluster domain during failover.boolean
spec.actionParameter.failoverParameter.skipSourceOperationsSkipSourceOperations, when true, skips performing operations on the source cluster as part of failover.boolean
spec.actionTypeActionType defines the type of action to be executed.
It can be one of the following:
- failover
- failback
string

status fields

FieldDescriptionType
status.finishTimestampFinishTimestamp records when the action reached a terminal state.string
status.reasonReason provides a human-readable explanation for the current status.string
status.stageActionStageType is the stage of the actionstring
status.statusActionStatusType is the current status of the Actionstring
status.summarySummary contains a per-namespace breakdown of the action result.object
status.summary.failbackSummaryFailbackSummaryItem contains per-namespace summaries for failback actions.array
status.summary.failbackSummary.namespaceNamespace is the namespace on which the action was performed.string
status.summary.failbackSummary.reasonReason is a human-readable summary of the outcome for this namespace.string
status.summary.failbackSummary.statusStatus is the final status of the action for this namespace.string
status.summary.failoverSummaryFailoverSummaryItem contains per-namespace summaries for failover actions.array
status.summary.failoverSummary.namespaceNamespace is the namespace on which the action was performed.string
status.summary.failoverSummary.reasonReason is a human-readable summary of the outcome for this namespace.string
status.summary.failoverSummary.statusStatus is the final status of the action for this namespace.string