Snapshot
longhorn.io / v1beta2
apiVersion: longhorn.io/v1beta2
kind: Snapshot
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
SnapshotSpec defines the desired state of Longhorn Snapshot
createSnapshot
boolean
require creating a new snapshot
labels
object
The labels of snapshot
volume
string required
the volume that this snapshot belongs to.
This field is immutable after creation.
status object
SnapshotStatus defines the observed state of Longhorn Snapshot
checksum
string
children
object
creationTime
string
error
string
labels
object
markRemoved
boolean
ownerID
string
parent
string
readyToUse
boolean
restoreSize
integer
format:
int64
size
integer
format:
int64
userCreated
boolean
No matches. Try .spec.createSnapshot for an exact path