description: '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'
type:string
kind:
description: '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'
description:BackingImageDataSource is where Longhorn stores backing image data source object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:BackingImageDataSourceSpec defines the desired state of the Longhorn backing image data source
properties:
checksum:
type:string
diskPath:
type:string
diskUUID:
type:string
fileTransferred:
type:boolean
nodeID:
type:string
parameters:
additionalProperties:
type:string
type:object
sourceType:
enum:
- download
- upload
- export-from-volume
type:string
uuid:
type:string
type:object
status:
description:BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source
description: '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'
type:string
kind:
description: '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'
description:BackingImageManager is where Longhorn stores backing image manager object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:BackingImageManagerSpec defines the desired state of the Longhorn backing image manager
properties:
backingImages:
additionalProperties:
type:string
type:object
diskPath:
type:string
diskUUID:
type:string
image:
type:string
nodeID:
type:string
type:object
status:
description:BackingImageManagerStatus defines the observed state of the Longhorn backing image manager
properties:
apiMinVersion:
type:integer
apiVersion:
type:integer
backingImageFileMap:
additionalProperties:
properties:
currentChecksum:
type:string
directory:
description: 'Deprecated:This field is useless.'
type:string
downloadProgress:
description: 'Deprecated:This field is renamed to `Progress`.'
type:integer
message:
type:string
name:
type:string
progress:
type:integer
senderManagerAddress:
type:string
sendingReference:
type:integer
size:
format:int64
type:integer
state:
type:string
url:
description: 'Deprecated:This field is useless now. The manager of backing image files doesn''t care if a file is downloaded and how.'
description: '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'
type:string
kind:
description: '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'
description:BackingImage is where Longhorn stores backing image object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:BackingImageSpec defines the desired state of the Longhorn backing image
properties:
checksum:
type:string
disks:
additionalProperties:
type:string
type:object
imageURL:
description: 'Deprecated:This kind of info will be included in the related BackingImageDataSource.'
type:string
sourceParameters:
additionalProperties:
type:string
type:object
sourceType:
enum:
- download
- upload
- export-from-volume
type:string
type:object
status:
description:BackingImageStatus defines the observed state of the Longhorn backing image status
properties:
checksum:
type:string
diskDownloadProgressMap:
additionalProperties:
type:integer
description: 'Deprecated:Replaced by field `Progress` in `DiskFileStatusMap`.'
nullable:true
type:object
diskDownloadStateMap:
additionalProperties:
description:BackingImageDownloadState is replaced by BackingImageState.
type:string
description: 'Deprecated:Replaced by field `State` in `DiskFileStatusMap`.'
description: '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'
type:string
kind:
description: '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'
description:Backup is where Longhorn stores backup object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:BackupSpec defines the desired state of the Longhorn backup
properties:
labels:
additionalProperties:
type:string
description:The labels of snapshot backup.
type:object
snapshotName:
description:The snapshot name.
type:string
syncRequestedAt:
description:The time to request run sync the remote backup.
format:date-time
nullable:true
type:string
type:object
status:
description:BackupStatus defines the observed state of the Longhorn backup
description: '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'
type:string
kind:
description: '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'
description:BackupTarget is where Longhorn stores backup target object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:BackupTargetSpec defines the desired state of the Longhorn backup target
properties:
backupTargetURL:
description:The backup target URL.
type:string
credentialSecret:
description:The backup target credential secret.
type:string
pollInterval:
description:The interval that the cluster needs to run sync with the backup target.
type:string
syncRequestedAt:
description:The time to request run sync the remote backup target.
format:date-time
nullable:true
type:string
type:object
status:
description:BackupTargetStatus defines the observed state of the Longhorn backup target
properties:
available:
description:Available indicates if the remote backup target is available or not.
type:boolean
conditions:
description:Records the reason on why the backup target is unavailable.
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
type:string
type:
description:Type is the type of the condition.
type:string
type:object
nullable:true
type:array
lastSyncedAt:
description:The last time that the controller synced with the remote backup target.
format:date-time
nullable:true
type:string
ownerID:
description:The node ID on which the controller is responsible to reconcile this backup target CR.
description: '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'
type:string
kind:
description: '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'
description:BackupVolume is where Longhorn stores backup volume object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:BackupVolumeSpec defines the desired state of the Longhorn backup volume
properties:
syncRequestedAt:
description:The time to request run sync the remote backup volume.
format:date-time
nullable:true
type:string
type:object
status:
description:BackupVolumeStatus defines the observed state of the Longhorn backup volume
properties:
backingImageChecksum:
description:the backing image checksum.
type:string
backingImageName:
description:The backing image name.
type:string
createdAt:
description:The backup volume creation time.
type:string
dataStored:
description:The backup volume block count.
type:string
labels:
additionalProperties:
type:string
description:The backup volume labels.
nullable:true
type:object
lastBackupAt:
description:The latest volume backup time.
type:string
lastBackupName:
description:The latest volume backup name.
type:string
lastModificationTime:
description:The backup volume config last modification time.
format:date-time
nullable:true
type:string
lastSyncedAt:
description:The last time that the backup volume was synced into the cluster.
format:date-time
nullable:true
type:string
messages:
additionalProperties:
type:string
description:The error messages when call longhorn engine on list or inspect backup volumes.
nullable:true
type:object
ownerID:
description:The node ID on which the controller is responsible to reconcile this backup volume CR.
description: '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'
type:string
kind:
description: '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'
- description:Number of resources using the engine image
jsonPath:.status.refCount
name:RefCount
type:integer
- description:The build date of the engine image
jsonPath:.status.buildDate
name:BuildDate
type:date
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
description:EngineImage is where Longhorn stores engine image object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:EngineImageSpec defines the desired state of the Longhorn engine image
properties:
image:
minLength:1
type:string
required:
- image
type:object
status:
description:EngineImageStatus defines the observed state of the Longhorn engine image
properties:
buildDate:
type:string
cliAPIMinVersion:
type:integer
cliAPIVersion:
type:integer
conditions:
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
description: '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'
type:string
kind:
description: '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'
description:Engine is where Longhorn stores engine object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:EngineSpec defines the desired state of the Longhorn engine
properties:
active:
type:boolean
backupVolume:
type:string
desireState:
type:string
disableFrontend:
type:boolean
engineImage:
type:string
frontend:
enum:
- blockdev
- iscsi
- ""
type:string
logRequested:
type:boolean
nodeID:
type:string
replicaAddressMap:
additionalProperties:
type:string
type:object
requestedBackupRestore:
type:string
requestedDataSource:
type:string
revisionCounterDisabled:
type:boolean
salvageRequested:
type:boolean
unmapMarkSnapChainRemovedEnabled:
type:boolean
upgradedReplicaAddressMap:
additionalProperties:
type:string
type:object
volumeName:
type:string
volumeSize:
format:int64
type:string
type:object
status:
description:EngineStatus defines the observed state of the Longhorn engine
properties:
backupStatus:
additionalProperties:
properties:
backupURL:
type:string
error:
type:string
progress:
type:integer
replicaAddress:
type:string
snapshotName:
type:string
state:
type:string
type:object
nullable:true
type:object
cloneStatus:
additionalProperties:
properties:
error:
type:string
fromReplicaAddress:
type:string
isCloning:
type:boolean
progress:
type:integer
snapshotName:
type:string
state:
type:string
type:object
nullable:true
type:object
conditions:
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
description: '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'
type:string
kind:
description: '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'
description:InstanceManager is where Longhorn stores instance manager object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:InstanceManagerSpec defines the desired state of the Longhorn instancer manager
properties:
engineImage:
description: 'TODO:deprecate this field'
type:string
image:
type:string
nodeID:
type:string
type:
enum:
- engine
- replica
type:string
type:object
status:
description:InstanceManagerStatus defines the observed state of the Longhorn instance manager
description: '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'
type:string
kind:
description: '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'
description: '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'
type:string
kind:
description: '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'
description: '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'
type:string
kind:
description: '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'
description: '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'
type:string
kind:
description: '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'
- description:The number of snapshots/backups to keep for the volume
jsonPath:.spec.retain
name:Retain
type:integer
- description:The concurrent job to run by each cron job
jsonPath:.spec.concurrency
name:Concurrency
type:integer
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
- description:Specify the labels
jsonPath:.spec.labels
name:Labels
type:string
name:v1beta2
schema:
openAPIV3Schema:
description:RecurringJob is where Longhorn stores recurring job object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
description:Replica is where Longhorn stores replica object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
description:Replica is where Longhorn stores replica object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:ReplicaSpec defines the desired state of the Longhorn replica
properties:
active:
type:boolean
backingImage:
type:string
baseImage:
description:Deprecated. Rename to BackingImage
type:string
dataDirectoryName:
type:string
dataPath:
description:Deprecated
type:string
desireState:
type:string
diskID:
type:string
diskPath:
type:string
engineImage:
type:string
engineName:
type:string
failedAt:
type:string
hardNodeAffinity:
type:string
healthyAt:
type:string
logRequested:
type:boolean
nodeID:
type:string
rebuildRetryCount:
type:integer
revisionCounterDisabled:
type:boolean
salvageRequested:
type:boolean
unmapMarkDiskChainRemovedEnabled:
type:boolean
volumeName:
type:string
volumeSize:
format:int64
type:string
type:object
status:
description:ReplicaStatus defines the observed state of the Longhorn replica
properties:
conditions:
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
description:Setting is where Longhorn stores setting object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
value:
type:string
required:
- value
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- description:The value of the setting
jsonPath:.value
name:Value
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
description:Setting is where Longhorn stores setting object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
value:
type:string
required:
- value
type:object
served:true
storage:true
subresources:
status:{}
status:
acceptedNames:
kind:""
plural:""
conditions:[]
storedVersions:[]
---
# Source: longhorn/templates/crds.yaml
apiVersion:apiextensions.k8s.io/v1
kind:CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version:v0.7.0
creationTimestamp:null
labels:
app.kubernetes.io/name:longhorn
app.kubernetes.io/instance:longhorn
app.kubernetes.io/version:v1.4.0
longhorn-manager:""
name:sharemanagers.longhorn.io
spec:
group:longhorn.io
names:
kind:ShareManager
listKind:ShareManagerList
plural:sharemanagers
shortNames:
- lhsm
singular:sharemanager
scope:Namespaced
versions:
- additionalPrinterColumns:
- description:The state of the share manager
jsonPath:.status.state
name:State
type:string
- description:The node that the share manager is owned by
jsonPath:.status.ownerID
name:Node
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta1
schema:
openAPIV3Schema:
description:ShareManager is where Longhorn stores share manager object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
x-kubernetes-preserve-unknown-fields:true
status:
x-kubernetes-preserve-unknown-fields:true
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- description:The state of the share manager
jsonPath:.status.state
name:State
type:string
- description:The node that the share manager is owned by
jsonPath:.status.ownerID
name:Node
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
description:ShareManager is where Longhorn stores share manager object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:ShareManagerSpec defines the desired state of the Longhorn share manager
properties:
image:
type:string
type:object
status:
description:ShareManagerStatus defines the observed state of the Longhorn share manager
properties:
endpoint:
type:string
ownerID:
type:string
state:
type:string
type:object
type:object
served:true
storage:true
subresources:
status:{}
status:
acceptedNames:
kind:""
plural:""
conditions:[]
storedVersions:[]
---
# Source: longhorn/templates/crds.yaml
apiVersion:apiextensions.k8s.io/v1
kind:CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version:v0.7.0
creationTimestamp:null
labels:
app.kubernetes.io/name:longhorn
app.kubernetes.io/instance:longhorn
app.kubernetes.io/version:v1.4.0
longhorn-manager:""
name:snapshots.longhorn.io
spec:
group:longhorn.io
names:
kind:Snapshot
listKind:SnapshotList
plural:snapshots
shortNames:
- lhsnap
singular:snapshot
scope:Namespaced
versions:
- additionalPrinterColumns:
- description:The volume that this snapshot belongs to
jsonPath:.spec.volume
name:Volume
type:string
- description:Timestamp when the point-in-time snapshot was taken
jsonPath:.status.creationTime
name:CreationTime
type:string
- description:Indicates if the snapshot is ready to be used to restore/backup a volume
jsonPath:.status.readyToUse
name:ReadyToUse
type:boolean
- description:Represents the minimum size of volume required to rehydrate from this snapshot
jsonPath:.status.restoreSize
name:RestoreSize
type:string
- description:The actual size of the snapshot
jsonPath:.status.size
name:Size
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
description:Snapshot is the Schema for the snapshots API
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:SnapshotSpec defines the desired state of Longhorn Snapshot
properties:
createSnapshot:
description:require creating a new snapshot
type:boolean
labels:
additionalProperties:
type:string
description:The labels of snapshot
nullable:true
type:object
volume:
description:the volume that this snapshot belongs to. This field is immutable after creation. Required
type:string
required:
- volume
type:object
status:
description:SnapshotStatus defines the observed state of Longhorn Snapshot
properties:
checksum:
type:string
children:
additionalProperties:
type:boolean
nullable:true
type:object
creationTime:
type:string
error:
type:string
labels:
additionalProperties:
type:string
nullable:true
type:object
markRemoved:
type:boolean
ownerID:
type:string
parent:
type:string
readyToUse:
type:boolean
restoreSize:
format:int64
type:integer
size:
format:int64
type:integer
userCreated:
type:boolean
type:object
type:object
served:true
storage:true
subresources:
status:{}
status:
acceptedNames:
kind:""
plural:""
conditions:[]
storedVersions:[]
---
# Source: longhorn/templates/crds.yaml
apiVersion:apiextensions.k8s.io/v1
kind:CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version:v0.7.0
creationTimestamp:null
labels:
app.kubernetes.io/name:longhorn
app.kubernetes.io/instance:longhorn
app.kubernetes.io/version:v1.4.0
longhorn-manager:""
name:supportbundles.longhorn.io
spec:
group:longhorn.io
names:
kind:SupportBundle
listKind:SupportBundleList
plural:supportbundles
shortNames:
- lhbundle
singular:supportbundle
scope:Namespaced
versions:
- additionalPrinterColumns:
- description:The state of the support bundle
jsonPath:.status.state
name:State
type:string
- description:The issue URL
jsonPath:.spec.issueURL
name:Issue
type:string
- description:A brief description of the issue
jsonPath:.spec.description
name:Description
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
description:SupportBundle is where Longhorn stores support bundle object
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:SupportBundleSpec defines the desired state of the Longhorn SupportBundle
- description:The last time that the system backup was synced into the cluster
jsonPath:.status.lastSyncedAt
name:LastSyncedAt
type:string
name:v1beta2
schema:
openAPIV3Schema:
description:SystemBackup is where Longhorn stores system backup object
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:SystemBackupSpec defines the desired state of the Longhorn SystemBackup
type:object
status:
description:SystemBackupStatus defines the observed state of the Longhorn SystemBackup
properties:
conditions:
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
description:SystemRestore is where Longhorn stores system restore object
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:SystemRestoreSpec defines the desired state of the Longhorn SystemRestore
properties:
systemBackup:
description:The system backup name in the object store.
type:string
required:
- systemBackup
type:object
status:
description:SystemRestoreStatus defines the observed state of the Longhorn SystemRestore
properties:
conditions:
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
type:string
type:
description:Type is the type of the condition.
type:string
type:object
nullable:true
type:array
ownerID:
description:The node ID of the responsible controller to reconcile this SystemRestore.
type:string
sourceURL:
description:The source system backup URL.
type:string
state:
description:The system restore state.
type:string
type:object
type:object
served:true
storage:true
subresources:
status:{}
status:
acceptedNames:
kind:""
plural:""
conditions:[]
storedVersions:[]
---
# Source: longhorn/templates/crds.yaml
apiVersion:apiextensions.k8s.io/v1
kind:CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version:v0.7.0
labels:
app.kubernetes.io/name:longhorn
app.kubernetes.io/instance:longhorn
app.kubernetes.io/version:v1.4.0
longhorn-manager:""
name:volumes.longhorn.io
spec:
preserveUnknownFields:false
conversion:
strategy:Webhook
webhook:
clientConfig:
service:
name:longhorn-conversion-webhook
namespace:longhorn-system
path:/v1/webhook/conversion
port:9443
conversionReviewVersions:
- v1beta2
- v1beta1
group:longhorn.io
names:
kind:Volume
listKind:VolumeList
plural:volumes
shortNames:
- lhv
singular:volume
scope:Namespaced
versions:
- additionalPrinterColumns:
- description:The state of the volume
jsonPath:.status.state
name:State
type:string
- description:The robustness of the volume
jsonPath:.status.robustness
name:Robustness
type:string
- description:The scheduled condition of the volume
- description:The node that the volume is currently attaching to
jsonPath:.status.currentNodeID
name:Node
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta1
schema:
openAPIV3Schema:
description:Volume is where Longhorn stores volume object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
x-kubernetes-preserve-unknown-fields:true
status:
x-kubernetes-preserve-unknown-fields:true
type:object
served:true
storage:false
subresources:
status:{}
- additionalPrinterColumns:
- description:The state of the volume
jsonPath:.status.state
name:State
type:string
- description:The robustness of the volume
jsonPath:.status.robustness
name:Robustness
type:string
- description:The scheduled condition of the volume
- description:The node that the volume is currently attaching to
jsonPath:.status.currentNodeID
name:Node
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
description:Volume is where Longhorn stores volume object.
properties:
apiVersion:
description: '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'
type:string
kind:
description: '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'
type:string
metadata:
type:object
spec:
description:VolumeSpec defines the desired state of the Longhorn volume
properties:
Standby:
type:boolean
accessMode:
enum:
- rwo
- rwx
type:string
backingImage:
type:string
baseImage:
description:Deprecated. Rename to BackingImage
type:string
dataLocality:
enum:
- disabled
- best-effort
- strict-local
type:string
dataSource:
type:string
disableFrontend:
type:boolean
diskSelector:
items:
type:string
type:array
encrypted:
type:boolean
engineImage:
type:string
fromBackup:
type:string
restoreVolumeRecurringJob:
enum:
- ignored
- enabled
- disabled
type:string
frontend:
enum:
- blockdev
- iscsi
- ""
type:string
lastAttachedBy:
type:string
migratable:
type:boolean
migrationNodeID:
type:string
nodeID:
type:string
nodeSelector:
items:
type:string
type:array
numberOfReplicas:
type:integer
recurringJobs:
description:Deprecated. Replaced by a separate resource named "RecurringJob"
items:
description: 'VolumeRecurringJobSpec is a deprecated struct. TODO:Should be removed when recurringJobs gets removed from the volume spec.'
properties:
concurrency:
type:integer
cron:
type:string
groups:
items:
type:string
type:array
labels:
additionalProperties:
type:string
type:object
name:
type:string
retain:
type:integer
task:
enum:
- snapshot
- backup
type:string
type:object
type:array
replicaAutoBalance:
enum:
- ignored
- disabled
- least-effort
- best-effort
type:string
revisionCounterDisabled:
type:boolean
size:
format:int64
type:string
snapshotDataIntegrity:
enum:
- ignored
- disabled
- enabled
- fast-check
type:string
staleReplicaTimeout:
type:integer
unmapMarkSnapChainRemoved:
enum:
- ignored
- disabled
- enabled
type:string
type:object
status:
description:VolumeStatus defines the observed state of the Longhorn volume
properties:
actualSize:
format:int64
type:integer
cloneStatus:
properties:
snapshot:
type:string
sourceVolume:
type:string
state:
type:string
type:object
conditions:
items:
properties:
lastProbeTime:
description:Last time we probed the condition.
type:string
lastTransitionTime:
description:Last time the condition transitioned from one status to another.
type:string
message:
description:Human-readable message indicating details about last transition.
type:string
reason:
description:Unique, one-word, CamelCase reason for the condition's last transition.
type:string
status:
description:Status is the status of the condition. Can be True, False, Unknown.
type:string
type:
description:Type is the type of the condition.
type:string
type:object
nullable:true
type:array
currentImage:
type:string
currentNodeID:
type:string
expansionRequired:
type:boolean
frontendDisabled:
type:boolean
isStandby:
type:boolean
kubernetesStatus:
properties:
lastPVCRefAt:
type:string
lastPodRefAt:
type:string
namespace:
description:determine if PVC/Namespace is history or not
type:string
pvName:
type:string
pvStatus:
type:string
pvcName:
type:string
workloadsStatus:
description:determine if Pod/Workload is history or not