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