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
kindstring
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
metadataobject
specobject
PodVolumeRestoreSpec is the specification for a PodVolumeRestore.
backupStorageLocationstringrequired
BackupStorageLocation is the name of the backup storage location
where the backup repository is stored.
cancelboolean
Cancel indicates request to cancel the ongoing PodVolumeRestore. It can be set
when the PodVolumeRestore is in InProgress phase
podobjectrequired
Pod is a reference to the pod containing the volume to be restored.
apiVersionstring
API version of the referent.
fieldPathstring
If referring to a piece of an object instead of an entire object, this string
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within a pod, this would take on a value like:
"spec.containers{name}" (where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
kindstring
Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
namestring
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
namespacestring
Namespace of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resourceVersionstring
Specific resourceVersion to which this reference is made, if any.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uidstring
UID of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
repoIdentifierstringrequired
RepoIdentifier is the backup repository identifier.
snapshotIDstringrequired
SnapshotID is the ID of the volume snapshot to be restored.
sourceNamespacestringrequired
SourceNamespace is the original namespace for namaspace mapping.
uploaderSettingsobject
UploaderSettings are a map of key-value pairs that should be applied to the
uploader configuration.
uploaderTypestring
UploaderType is the type of the uploader to handle the data transfer.
enum: kopia, restic,
volumestringrequired
Volume is the name of the volume within the Pod to be restored.
statusobject
PodVolumeRestoreStatus is the current status of a PodVolumeRestore.
acceptedTimestampstring
AcceptedTimestamp records the time the pod volume restore is to be prepared.
The server's time is used for AcceptedTimestamp
format: date-time
completionTimestampstring
CompletionTimestamp records the time a restore was completed.
Completion time is recorded even on failed restores.
The server's time is used for CompletionTimestamps
format: date-time
messagestring
Message is a message about the pod volume restore's status.
nodestring
Node is name of the node where the pod volume restore is processed.
phasestring
Phase is the current state of the PodVolumeRestore.
Progress holds the total number of bytes of the snapshot and the current
number of restored bytes. This can be used to display progress information
about the restore operation.
bytesDoneinteger
format: int64
totalBytesinteger
format: int64
startTimestampstring
StartTimestamp records the time a restore was started.
The server's time is used for StartTimestamps