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
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: '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:Indicate whether the backup target is available or not
jsonPath:.status.available
name:Available
type:boolean
- description:The backup target last synced time
jsonPath:.status.lastSyncedAt
name:LastSyncedAt
type:string
name:v1beta2
schema:
openAPIV3Schema:
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: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
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: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
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:Node is where Longhorn stores Longhorn node 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:NodeSpec defines the desired state of the Longhorn node
properties:
allowScheduling:
type:boolean
disks:
additionalProperties:
properties:
allowScheduling:
type:boolean
evictionRequested:
type:boolean
path:
type:string
storageReserved:
format:int64
type:integer
tags:
items:
type:string
type:array
type:object
type:object
engineManagerCPURequest:
type:integer
evictionRequested:
type:boolean
name:
type:string
replicaManagerCPURequest:
type:integer
tags:
items:
type:string
type:array
type:object
status:
description:NodeStatus defines the observed state of the Longhorn node
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
diskStatus:
additionalProperties:
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:Orphan is where Longhorn stores orphan 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:OrphanSpec defines the desired state of the Longhorn orphaned data
properties:
nodeID:
description:The node ID on which the controller is responsible to reconcile this orphan CR.
type:string
orphanType:
description:The type of the orphaned data. Can be "replica".
type:string
parameters:
additionalProperties:
type:string
description:The parameters of the orphaned data
type:object
type:object
status:
description:OrphanStatus defines the observed state of the Longhorn orphaned data
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: '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:The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup" or "backup-force-create".
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
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'
- 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
- 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
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:The last time that the system backup was synced into the cluster.
format:date-time
nullable:true
type:string
managerImage:
description:The saved manager image.
type:string
ownerID:
description:The node ID of the responsible controller to reconcile this SystemBackup.
type:string
state:
description:The system backup state.
type:string
version:
description:The saved Longhorn version.
nullable:true
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-dev
longhorn-manager:""
name:systemrestores.longhorn.io
spec:
group:longhorn.io
names:
kind:SystemRestore
listKind:SystemRestoreList
plural:systemrestores
shortNames:
- lhsr
singular:systemrestore
scope:Namespaced
versions:
- additionalPrinterColumns:
- description:The system restore state
jsonPath:.status.state
name:State
type:string
- jsonPath:.metadata.creationTimestamp
name:Age
type:date
name:v1beta2
schema:
openAPIV3Schema:
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.
- 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