VirtualMachineRestore
snapshot.kubevirt.io / v1alpha1
apiVersion: snapshot.kubevirt.io/v1alpha1
kind: VirtualMachineRestore
metadata:
name: example
apiVersion
string
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
kind
string
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
metadata
object
spec object required
VirtualMachineRestoreSpec is the spec for a VirtualMachineRestore resource
patches
[]string
If the target for the restore does not exist, it will be created. Patches holds JSON patches that would be
applied to the target manifest before it's created. Patches should fit the target's Kind.
Example for a patch: {"op": "replace", "path": "/metadata/name", "value": "new-vm-name"}
target object required
initially only VirtualMachine type supported
apiGroup
string
APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
kind
string required
Kind is the type of resource being referenced
name
string required
Name is the name of resource being referenced
targetReadinessPolicy
string
TargetReadinessPolicy defines how to handle the restore in case
the target is not ready
virtualMachineSnapshotName
string required
volumeOwnershipPolicy
string
VolumeOwnershipPolicy defines what owns volumes once they're restored
volumeRestoreOverrides []object
VolumeRestoreOverrides gives the option to change properties of each restored volume
For example, specifying the name of the restored volume, or adding labels/annotations to it
annotations
object
labels
object
restoreName
string
volumeName
string
volumeRestorePolicy
string
VolumeRestorePolicy defines how to handle the restore of snapshotted volumes
status object
VirtualMachineRestoreStatus is the status for a VirtualMachineRestore resource
complete
boolean
conditions []object
lastProbeTime
string
format:
date-time
lastTransitionTime
string
format:
date-time
message
string
reason
string
status
string required
type
string required
ConditionType is the const type for Conditions
deletedDataVolumes
[]string
restoreTime
string
format:
date-timerestores []object
dataVolumeName
string
persistentVolumeClaim
string required
volumeName
string required
volumeSnapshotName
string required
No matches. Try .spec.patches for an exact path