Spec schema
RestoreSpec defines the desired state of Restore.
backup: string
clonedDBClusterConfig:
dbclusterName: string
pointInTime: string
sourceDBCluster: string
Field TypeRequired or optional |
Description |
|---|---|
backup
| |
stringOptional | Name of the BackupPlan from which this backup was created. The Backup to restore from. You must specify either Backup or PointInTime. If you specify Backup, then you must leave the ClonedDBClusterConfig field unspecified. If you specify PointInTime, then you must provide a new DBCluster name in the ClonedDBClusterConfig field. Otherwise, the Restore request is rejected. |
clonedDBClusterConfig
| |
objectOptional | Settings for the cloned DBCluster. This lets you specify the name for the cloned DBCluster. Default to restore the source DBCluster if not specified. |
clonedDBClusterConfig.dbclusterName
| |
stringOptional | The name of cloned DBCluster. |
pointInTime
| |
stringOptional | Previous point in time to restore to. Default to restore the latest available time point if not specified. |
sourceDBCluster
| |
stringRequired | The name of the source DBCluster to restore from. |
Status schema
RestoreStatus defines the observed state of Restore.
completeTime: string
conditions:
- lastTransitionTime: string
message: string
observedGeneration: integer
reason: string
status: string
type: string
createTime: string
criticalIncidents:
- code: string
createTime: string
message: string
messageTemplateParams: object
resource:
component: string
location:
cluster: string
group: string
kind: string
name: string
namespace: string
version: string
stackTrace:
- component: string
message: string
transientUntil: string
observedGeneration: integer
phase: string
reconciled: boolean
Field TypeRequired or optional |
Description |
|---|---|
completeTime
| |
stringOptional | Completion time of the Restore. |
conditions[]
| |
objectOptional | Conditions represents the latest available observations of the entity's current state. |
conditions[].lastTransitionTime
| |
stringRequired | lastTransitionTime is the last time the condition transitioned from one status to another, which occurs when the underlying condition changed. If the time when the underlying condition changed is unknown, use the time when the API field changed. |
conditions[].message
| |
stringRequired | message is a human readable message indicating details about the transition. This can be an empty string. |
conditions[].observedGeneration
| |
integerOptional |
observedGeneration represents the .metadata.generation that
the condition was set based upon. For example, if .metadata.generation
is 12, but the .status.conditions[x].observedGeneration is 9,
the condition is out of date with respect to the current state of the
instance.
|
conditions[].reason
| |
stringRequired | reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types can define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value must be a CamelCase string. This field might not be empty. |
conditions[].status
| |
stringRequired | status of the condition, one of True, False, Unknown. |
conditions[].type
| |
stringRequired |
type of condition in CamelCase or in foo.example.com/CamelCase.
Many .condition.type values are consistent across resources
like Available. Because arbitrary conditions can be useful, for example
.node.status.conditions, the ability to deconflict is
important. The regex it matches is
(dns1123SubdomainFmt/)?(qualifiedNameFmt).
|
createTime
| |
stringOptional | Creation time of the Restore. |
criticalIncidents[]
| |
objectRequired | CriticalIncidents is a flat list of all active Critical Incidents. |
criticalIncidents[].code
| |
stringRequired |
Code is the error code of this particular error. Error codes are
DBSE+numeric strings, like DBSE1012.
|
criticalIncidents[].createTime
| |
stringRequired | CreateTime is the timestamp when this Incident was created at the origin. |
criticalIncidents[].message
| |
stringOptional | Message describes the incident or error that occurred. |
criticalIncidents[].messageTemplateParams
| |
objectOptional | MessageTemplateParams contains key-value pairs necessary for generating a user-friendly data-driven version of Message in the user interface. |
criticalIncidents[].resource
| |
objectRequired | Resource contains information about the Database Service component that reported the incident, as well as information about the Kubernetes resource. |
criticalIncidents[].resource.component
| |
stringRequired | Component is an internal identifier of the Database Service subsystem that reported the incident. |
criticalIncidents[].resource.location
| |
objectOptional | Location. |
criticalIncidents[].resource.location.cluster
| |
stringOptional | The name of the cluster of the affected Kubernetes resource. |
criticalIncidents[].resource.location.group
| |
stringOptional | The Group name of the Kubernetes resource. |
criticalIncidents[].resource.location.kind
| |
stringOptional | The Kind of the Kubernetes resource. |
criticalIncidents[].resource.location.name
| |
stringOptional | The name of the affected Kubernetes resource. |
criticalIncidents[].resource.location.namespace
| |
stringOptional | The namespace of the affected Kubernetes resource. |
criticalIncidents[].resource.location.version
| |
stringOptional | The Version of the Kubernetes resource. |
criticalIncidents[].stackTrace[]
| |
objectOptional | An unstructured list of messages from the stack trace. |
criticalIncidents[].stackTrace.component
| |
stringOptional | The name of a Database Service component that logged the message. |
criticalIncidents[].stackTrace.message
| |
stringOptional | Logged message. |
criticalIncidents[].transientUntil
| |
stringOptional | Indicates that the issue is considered transient until the specified time. |
observedGeneration
| |
integerOptional | Internal: The generation observed by the controller. |
phase
| |
stringOptional | RestorePhase is the phase of a restore. |
reconciled
| |
booleanOptional | Internal: Whether the resource was reconciled by the controller. |