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
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
- description:The backing image backup upload finished time
jsonPath:.status.backupCreatedAt
name:BackupCreatedAt
type:string
- description:The backing image backup state
jsonPath:.status.state
name:State
type:string
- description:The last synced time
jsonPath:.status.lastSyncedAt
name:LastSyncedAt
type:string
name:v1beta2
schema:
openAPIV3Schema:
description:BackupBackingImage is where Longhorn stores backing image 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:BackupBackingImageSpec defines the desired state of the Longhorn backing image backup
properties:
labels:
additionalProperties:
type:string
description:The labels of backing image backup.
type:object
syncRequestedAt:
description:The time to request run sync the remote backing image backup.
format:date-time
nullable:true
type:string
userCreated:
description:Is this CR created by user through API or UI. Required
type:boolean
required:
- userCreated
type:object
status:
description:BackupBackingImageStatus defines the observed state of the Longhorn backing image 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: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
description:ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt).
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'
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:Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
- 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", "backup-force-create" or "filesystem-trim"
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:FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
description:HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
description:LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
type:string
lastHealthyAt:
description:LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change.
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
- 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
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
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'
- 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
description:VolumeAttachment stores attachment information of a Longhorn volume
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:VolumeAttachmentSpec defines the desired state of Longhorn VolumeAttachment
properties:
attachmentTickets:
additionalProperties:
properties:
generation:
description:A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
format:int64
type:integer
id:
description:The unique ID of this attachment. Used to differentiate different attachments of the same volume.
type:string
nodeID:
description:The node that this attachment is requesting
type:string
parameters:
additionalProperties:
type:string
description:Optional additional parameter for this attachment
type:object
type:
type:string
type:object
type:object
volume:
description:The name of Longhorn volume of this VolumeAttachment
type:string
required:
- volume
type:object
status:
description:VolumeAttachmentStatus defines the observed state of Longhorn VolumeAttachment
properties:
attachmentTicketStatuses:
additionalProperties:
properties:
conditions:
description:Record any error when trying to fulfill this attachment
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
generation:
description:A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
format:int64
type:integer
id:
description:The unique ID of this attachment. Used to differentiate different attachments of the same volume.
type:string
satisfied:
description:Indicate whether this attachment ticket has been satisfied