longhorn.io / v1beta2 / Volume
- 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
VolumeSpec defines the desired state of the Longhorn volume
- boolean
.spec .Standby
- string
.spec .accessMode
- string
.spec .backingImage
- string
.spec .backupCompressionMethod
- string
.spec .backupTargetName
The backup target name that the volume will be backed up to or is synced.
- string
.spec .dataEngine
- string
.spec .dataLocality
- string
.spec .dataSource
- boolean
.spec .disableFrontend
- array
.spec .diskSelector
- boolean
.spec .encrypted
- string
.spec .freezeFilesystemForSnapshot
Setting that freezes the filesystem on the root partition before a snapshot is created.
- string
.spec .fromBackup
- string
.spec .frontend
- string
.spec .image
- string
.spec .lastAttachedBy
- boolean
.spec .migratable
- string
.spec .migrationNodeID
- string
.spec .nodeID
- array
.spec .nodeSelector
- integer
.spec .numberOfReplicas
- string
.spec .offlineRebuilding
Specifies whether Longhorn should rebuild replicas while the detached volume is degraded.
- ignored: Use the global setting for offline replica rebuilding.
- enabled: Enable offline rebuilding for this volume, regardless of the global setting.
- disabled: Disable offline rebuilding for this volume, regardless of the global setting
- string
.spec .replicaAutoBalance
- string
.spec .replicaDiskSoftAntiAffinity
Replica disk soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same disk.
- string
.spec .replicaSoftAntiAffinity
Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node.
- string
.spec .replicaZoneSoftAntiAffinity
Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone.
- string
.spec .restoreVolumeRecurringJob
- boolean
.spec .revisionCounterDisabled
- string
.spec .size
- string
.spec .snapshotDataIntegrity
- integer
.spec .snapshotMaxCount
- string
.spec .snapshotMaxSize
- integer
.spec .staleReplicaTimeout
- string
.spec .unmapMarkSnapChainRemoved
- object
.status
VolumeStatus defines the observed state of the Longhorn volume
- integer
.status .actualSize
- object
.status .cloneStatus
- integer
.status .cloneStatus .attemptCount
- string
.status .cloneStatus .nextAllowedAttemptAt
- string
.status .cloneStatus .snapshot
- string
.status .cloneStatus .sourceVolume
- string
.status .cloneStatus .state
- array | null
.status .conditions
- string
.status .currentImage
- string
.status .currentMigrationNodeID
the node that this volume is currently migrating to
- string
.status .currentNodeID
- boolean
.status .expansionRequired
- boolean
.status .frontendDisabled
- boolean
.status .isStandby
- object
.status .kubernetesStatus
- string
.status .kubernetesStatus .lastPVCRefAt
- string
.status .kubernetesStatus .lastPodRefAt
- string
.status .kubernetesStatus .namespace
determine if PVC/Namespace is history or not
- string
.status .kubernetesStatus .pvName
- string
.status .kubernetesStatus .pvStatus
- string
.status .kubernetesStatus .pvcName
- array | null
.status .kubernetesStatus .workloadsStatus
determine if Pod/Workload is history or not
- string
.status .lastBackup
- string
.status .lastBackupAt
- string
.status .lastDegradedAt
- string
.status .ownerID
- string
.status .remountRequestedAt
- boolean
.status .restoreInitiated
- boolean
.status .restoreRequired
- string
.status .robustness
- string
.status .state