update
diff --git a/charts/longhorn/templates/crds.yaml b/charts/longhorn/templates/crds.yaml
index ac56efe..44a19b2 100644
--- a/charts/longhorn/templates/crds.yaml
+++ b/charts/longhorn/templates/crds.yaml
@@ -2,8 +2,7 @@
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: backingimagedatasources.longhorn.io
@@ -19,7 +18,8 @@
scope: Namespaced
versions:
- additionalPrinterColumns:
- - description: The current state of the pod used to provision the backing image file from source
+ - description: The current state of the pod used to provision the backing image
+ file from source
jsonPath: .status.currentState
name: State
type: string
@@ -41,13 +41,23 @@
name: v1beta1
schema:
openAPIV3Schema:
- description: BackingImageDataSource is where Longhorn stores backing image data source object.
+ 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'
+ 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: |-
+ 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
@@ -65,7 +75,8 @@
jsonPath: .spec.uuid
name: UUID
type: string
- - description: The current state of the pod used to provision the backing image file from source
+ - description: The current state of the pod used to provision the backing image
+ file from source
jsonPath: .status.currentState
name: State
type: string
@@ -91,18 +102,29 @@
name: v1beta2
schema:
openAPIV3Schema:
- description: BackingImageDataSource is where Longhorn stores backing image data source object.
+ 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'
+ 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: |-
+ 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: BackingImageDataSourceSpec defines the desired state of the
+ Longhorn backing image data source
properties:
checksum:
type: string
@@ -123,12 +145,15 @@
- download
- upload
- export-from-volume
+ - restore
+ - clone
type: string
uuid:
type: string
type: object
status:
- description: BackingImageDataSourceStatus defines the observed state of the Longhorn backing image data source
+ description: BackingImageDataSourceStatus defines the observed state of
+ the Longhorn backing image data source
properties:
checksum:
type: string
@@ -158,19 +183,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: backingimagemanagers.longhorn.io
@@ -212,13 +230,23 @@
name: v1beta1
schema:
openAPIV3Schema:
- description: BackingImageManager is where Longhorn stores backing image manager object.
+ 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'
+ 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: |-
+ 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
@@ -258,18 +286,29 @@
name: v1beta2
schema:
openAPIV3Schema:
- description: BackingImageManager is where Longhorn stores backing image manager object.
+ 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'
+ 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: |-
+ 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
+ description: BackingImageManagerSpec defines the desired state of the
+ Longhorn backing image manager
properties:
backingImages:
additionalProperties:
@@ -285,7 +324,8 @@
type: string
type: object
status:
- description: BackingImageManagerStatus defines the observed state of the Longhorn backing image manager
+ description: BackingImageManagerStatus defines the observed state of the
+ Longhorn backing image manager
properties:
apiMinVersion:
type: integer
@@ -302,6 +342,9 @@
type: string
progress:
type: integer
+ realSize:
+ format: int64
+ type: integer
senderManagerAddress:
type: string
sendingReference:
@@ -313,6 +356,9 @@
type: string
uuid:
type: string
+ virtualSize:
+ format: int64
+ type: integer
type: object
nullable: true
type: object
@@ -330,19 +376,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: backingimages.longhorn.io
@@ -383,10 +422,19 @@
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'
+ 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: |-
+ 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
@@ -412,6 +460,10 @@
jsonPath: .status.size
name: Size
type: string
+ - description: The virtual size of the image (may be larger than file size)
+ jsonPath: .status.virtualSize
+ name: VirtualSize
+ type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
@@ -421,22 +473,66 @@
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'
+ 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: |-
+ 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: BackingImageSpec defines the desired state of the Longhorn
+ backing image
properties:
checksum:
type: string
+ dataEngine:
+ default: v1
+ enum:
+ - v1
+ - v2
+ type: string
+ diskFileSpecMap:
+ additionalProperties:
+ properties:
+ dataEngine:
+ enum:
+ - v1
+ - v2
+ type: string
+ evictionRequested:
+ type: boolean
+ type: object
+ type: object
+ diskSelector:
+ items:
+ type: string
+ type: array
disks:
additionalProperties:
type: string
+ description: Deprecated. We are now using DiskFileSpecMap to assign
+ different spec to the file on different disks.
type: object
+ minNumberOfCopies:
+ type: integer
+ nodeSelector:
+ items:
+ type: string
+ type: array
+ secret:
+ type: string
+ secretNamespace:
+ type: string
sourceParameters:
additionalProperties:
type: string
@@ -446,16 +542,24 @@
- download
- upload
- export-from-volume
+ - restore
+ - clone
type: string
type: object
status:
- description: BackingImageStatus defines the observed state of the Longhorn backing image status
+ description: BackingImageStatus defines the observed state of the Longhorn
+ backing image status
properties:
checksum:
type: string
diskFileStatusMap:
additionalProperties:
properties:
+ dataEngine:
+ enum:
+ - v1
+ - v2
+ type: string
lastStateTransitionTime:
type: string
message:
@@ -474,30 +578,209 @@
type: object
ownerID:
type: string
+ realSize:
+ description: Real size of image in bytes, which may be smaller than
+ the size when the file is a sparse file. Will be zero until known
+ (e.g. while a backing image is uploading)
+ format: int64
+ type: integer
size:
format: int64
type: integer
uuid:
type: string
+ v2FirstCopyDisk:
+ type: string
+ v2FirstCopyStatus:
+ description: It is pending -> in-progress -> ready/failed
+ type: string
+ virtualSize:
+ description: Virtual size of image in bytes, which may be larger than
+ physical size. Will be zero until known (e.g. while a backing image
+ is uploading)
+ format: int64
+ type: integer
+ type: object
+ type: object
+ served: true
+ storage: true
+ subresources:
+ status: {}
+---
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+ annotations:
+ controller-gen.kubebuilder.io/version: v0.15.0
+ labels: {{- include "longhorn.labels" . | nindent 4 }}
+ longhorn-manager: ""
+ name: backupbackingimages.longhorn.io
+spec:
+ group: longhorn.io
+ names:
+ kind: BackupBackingImage
+ listKind: BackupBackingImageList
+ plural: backupbackingimages
+ shortNames:
+ - lhbbi
+ singular: backupbackingimage
+ scope: Namespaced
+ versions:
+ - additionalPrinterColumns:
+ - description: The backing image name
+ jsonPath: .status.backingImage
+ name: BackingImage
+ type: string
+ - description: The backing image size
+ jsonPath: .status.size
+ name: Size
+ type: string
+ - 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:
+ backingImage:
+ description: |-
+ The backing image name.
+ type: string
+ backupTargetName:
+ description: The backup target name.
+ nullable: true
+ type: string
+ 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.
+ type: boolean
+ required:
+ - backingImage
+ - userCreated
+ type: object
+ status:
+ description: BackupBackingImageStatus defines the observed state of the
+ Longhorn backing image backup
+ properties:
+ backingImage:
+ description: The backing image name.
+ type: string
+ backupCreatedAt:
+ description: The backing image backup upload finished time.
+ type: string
+ checksum:
+ description: The checksum of the backing image.
+ type: string
+ compressionMethod:
+ description: Compression method
+ type: string
+ error:
+ description: The error message when taking the backing image backup.
+ type: string
+ labels:
+ additionalProperties:
+ type: string
+ description: The labels of backing image backup.
+ nullable: true
+ type: object
+ lastSyncedAt:
+ description: The last time that the backing image backup was synced
+ with the remote backup target.
+ format: date-time
+ nullable: true
+ type: string
+ managerAddress:
+ description: The address of the backing image manager that runs backing
+ image backup.
+ type: string
+ messages:
+ additionalProperties:
+ type: string
+ description: The error messages when listing or inspecting backing
+ image backup.
+ nullable: true
+ type: object
+ ownerID:
+ description: The node ID on which the controller is responsible to
+ reconcile this CR.
+ type: string
+ progress:
+ description: The backing image backup progress.
+ type: integer
+ secret:
+ description: Record the secret if this backup backing image is encrypted
+ type: string
+ secretNamespace:
+ description: Record the secret namespace if this backup backing image
+ is encrypted
+ type: string
+ size:
+ description: The backing image size.
+ format: int64
+ type: integer
+ state:
+ description: |-
+ The backing image backup creation state.
+ Can be "", "InProgress", "Completed", "Error", "Unknown".
+ type: string
+ url:
+ description: The backing image backup URL.
+ type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: backups.longhorn.io
@@ -539,10 +822,19 @@
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'
+ 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: |-
+ 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
@@ -568,6 +860,10 @@
jsonPath: .status.snapshotCreatedAt
name: SnapshotCreatedAt
type: string
+ - description: The backup target name
+ jsonPath: .status.backupTargetName
+ name: BackupTarget
+ type: string
- description: The backup state
jsonPath: .status.state
name: State
@@ -582,16 +878,34 @@
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'
+ 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: |-
+ 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:
+ backupMode:
+ description: |-
+ The backup mode of this backup.
+ Can be "full" or "incremental"
+ enum:
+ - full
+ - incremental
+ - ""
+ type: string
labels:
additionalProperties:
type: string
@@ -612,6 +926,9 @@
backupCreatedAt:
description: The snapshot backup upload finished time.
type: string
+ backupTargetName:
+ description: The backup target name.
+ type: string
compressionMethod:
description: Compression method
type: string
@@ -625,22 +942,31 @@
nullable: true
type: object
lastSyncedAt:
- description: The last time that the backup was synced with the remote backup target.
+ description: The last time that the backup was synced with the remote
+ backup target.
format: date-time
nullable: true
type: string
messages:
additionalProperties:
type: string
- description: The error messages when calling longhorn engine on listing or inspecting backups.
+ description: The error messages when calling longhorn engine on listing
+ or inspecting backups.
nullable: true
type: object
+ newlyUploadDataSize:
+ description: Size in bytes of newly uploaded data
+ type: string
ownerID:
- description: The node ID on which the controller is responsible to reconcile this backup CR.
+ description: The node ID on which the controller is responsible to
+ reconcile this backup CR.
type: string
progress:
description: The snapshot backup progress.
type: integer
+ reUploadedDataSize:
+ description: Size in bytes of reuploaded data
+ type: string
replicaAddress:
description: The address of the replica that runs snapshot backup.
type: string
@@ -654,7 +980,9 @@
description: The snapshot name.
type: string
state:
- description: The backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown".
+ description: |-
+ The backup creation state.
+ Can be "", "InProgress", "Completed", "Error", "Unknown".
type: string
url:
description: The snapshot backup URL.
@@ -677,19 +1005,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: backuptargets.longhorn.io
@@ -743,10 +1064,19 @@
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'
+ 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: |-
+ 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
@@ -786,15 +1116,25 @@
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'
+ 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: |-
+ 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
+ description: BackupTargetSpec defines the desired state of the Longhorn
+ backup target
properties:
backupTargetURL:
description: The backup target URL.
@@ -803,7 +1143,8 @@
description: The backup target credential secret.
type: string
pollInterval:
- description: The interval that the cluster needs to run sync with the backup target.
+ 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.
@@ -812,10 +1153,12 @@
type: string
type: object
status:
- description: BackupTargetStatus defines the observed state of the Longhorn backup target
+ 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.
+ 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.
@@ -825,16 +1168,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -843,12 +1191,14 @@
nullable: true
type: array
lastSyncedAt:
- description: The last time that the controller synced with the remote backup target.
+ 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: The node ID on which the controller is responsible to
+ reconcile this backup target CR.
type: string
type: object
type: object
@@ -856,19 +1206,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: backupvolumes.longhorn.io
@@ -906,10 +1249,19 @@
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'
+ 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: |-
+ 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
@@ -923,6 +1275,10 @@
subresources:
status: {}
- additionalPrinterColumns:
+ - description: The backup target name
+ jsonPath: .spec.backupTargetName
+ name: BackupTarget
+ type: string
- description: The backup volume creation time
jsonPath: .status.createdAt
name: CreatedAt
@@ -945,24 +1301,42 @@
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'
+ 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: |-
+ 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
+ description: BackupVolumeSpec defines the desired state of the Longhorn
+ backup volume
properties:
+ backupTargetName:
+ description: The backup target name that the backup volume was synced.
+ nullable: true
+ type: string
syncRequestedAt:
description: The time to request run sync the remote backup volume.
format: date-time
nullable: true
type: string
+ volumeName:
+ description: The volume name that the backup volume was used to backup.
+ type: string
type: object
status:
- description: BackupVolumeStatus defines the observed state of the Longhorn backup volume
+ description: BackupVolumeStatus defines the observed state of the Longhorn
+ backup volume
properties:
backingImageChecksum:
description: the backing image checksum.
@@ -994,18 +1368,21 @@
nullable: true
type: string
lastSyncedAt:
- description: The last time that the backup volume was synced into the cluster.
+ 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.
+ 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: The node ID on which the controller is responsible to
+ reconcile this backup volume CR.
type: string
size:
description: The backup volume size.
@@ -1019,24 +1396,16 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: engineimages.longhorn.io
spec:
- preserveUnknownFields: false
conversion:
strategy: Webhook
webhook:
@@ -1057,6 +1426,7 @@
shortNames:
- lhei
singular: engineimage
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -1085,10 +1455,19 @@
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'
+ 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: |-
+ 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
@@ -1102,6 +1481,10 @@
subresources:
status: {}
- additionalPrinterColumns:
+ - description: Compatibility of the engine image
+ jsonPath: .status.incompatible
+ name: Incompatible
+ type: boolean
- description: State of the engine image
jsonPath: .status.state
name: State
@@ -1127,15 +1510,25 @@
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'
+ 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: |-
+ 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: EngineImageSpec defines the desired state of the Longhorn
+ engine image
properties:
image:
minLength: 1
@@ -1144,7 +1537,8 @@
- image
type: object
status:
- description: EngineImageStatus defines the observed state of the Longhorn engine image
+ description: EngineImageStatus defines the observed state of the Longhorn
+ engine image
properties:
buildDate:
type: string
@@ -1159,16 +1553,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -1186,6 +1585,8 @@
type: integer
gitCommit:
type: string
+ incompatible:
+ type: boolean
noRefSince:
type: string
nodeDeploymentMap:
@@ -1207,19 +1608,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: engines.longhorn.io
@@ -1232,6 +1626,7 @@
shortNames:
- lhe
singular: engine
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -1260,10 +1655,19 @@
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'
+ 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: |-
+ 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
@@ -1277,6 +1681,10 @@
subresources:
status: {}
- additionalPrinterColumns:
+ - description: The data engine of the engine
+ jsonPath: .spec.dataEngine
+ name: Data Engine
+ type: string
- description: The current state of the engine
jsonPath: .status.currentState
name: State
@@ -1302,10 +1710,19 @@
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'
+ 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: |-
+ 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
@@ -1315,17 +1732,21 @@
active:
type: boolean
backendStoreDriver:
+ description: Deprecated:Replaced by field `dataEngine`.
+ type: string
+ backupVolume:
+ type: string
+ dataEngine:
enum:
- v1
- v2
type: string
- backupVolume:
- type: string
desireState:
type: string
disableFrontend:
type: boolean
engineImage:
+ description: 'Deprecated: Replaced by field `image`.'
type: string
frontend:
enum:
@@ -1334,6 +1755,8 @@
- nvmf
- ""
type: string
+ image:
+ type: string
logRequested:
type: boolean
nodeID:
@@ -1350,6 +1773,11 @@
type: boolean
salvageRequested:
type: boolean
+ snapshotMaxCount:
+ type: integer
+ snapshotMaxSize:
+ format: int64
+ type: string
unmapMarkSnapChainRemovedEnabled:
type: boolean
upgradedReplicaAddressMap:
@@ -1408,16 +1836,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -1492,6 +1925,14 @@
type: string
nullable: true
type: object
+ replicaTransitionTimeMap:
+ additionalProperties:
+ type: string
+ 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).
+ type: object
restoreStatus:
additionalProperties:
properties:
@@ -1516,6 +1957,11 @@
type: object
salvageExecuted:
type: boolean
+ snapshotMaxCount:
+ type: integer
+ snapshotMaxSize:
+ format: int64
+ type: string
snapshots:
additionalProperties:
properties:
@@ -1558,19 +2004,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: instancemanagers.longhorn.io
@@ -1583,6 +2022,7 @@
shortNames:
- lhim
singular: instancemanager
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -1607,10 +2047,19 @@
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'
+ 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: |-
+ 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
@@ -1624,6 +2073,10 @@
subresources:
status: {}
- additionalPrinterColumns:
+ - description: The data engine of the instance manager
+ jsonPath: .spec.dataEngine
+ name: Data Engine
+ type: string
- description: The state of the instance manager
jsonPath: .status.currentState
name: State
@@ -1645,16 +2098,36 @@
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'
+ 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: |-
+ 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: InstanceManagerSpec defines the desired state of the Longhorn
+ instance manager
properties:
+ dataEngine:
+ type: string
+ dataEngineSpec:
+ properties:
+ v2:
+ properties:
+ cpuMask:
+ type: string
+ type: object
+ type: object
image:
type: string
nodeID:
@@ -1667,30 +2140,66 @@
type: string
type: object
status:
- description: InstanceManagerStatus defines the observed state of the Longhorn instance manager
+ description: InstanceManagerStatus defines the observed state of the Longhorn
+ instance manager
properties:
apiMinVersion:
type: integer
apiVersion:
type: integer
- proxyApiMinVersion:
- type: integer
- proxyApiVersion:
- type: integer
+ backingImages:
+ additionalProperties:
+ properties:
+ currentChecksum:
+ type: string
+ diskUUID:
+ type: string
+ message:
+ type: string
+ name:
+ type: string
+ progress:
+ type: integer
+ size:
+ format: int64
+ type: integer
+ state:
+ type: string
+ uuid:
+ type: string
+ type: object
+ nullable: true
+ type: object
currentState:
type: string
+ dataEngineStatus:
+ properties:
+ v2:
+ properties:
+ cpuMask:
+ type: string
+ type: object
+ type: object
instanceEngines:
additionalProperties:
properties:
spec:
properties:
backendStoreDriver:
+ description: Deprecated:Replaced by field `dataEngine`.
+ type: string
+ dataEngine:
type: string
name:
type: string
type: object
status:
properties:
+ conditions:
+ additionalProperties:
+ type: boolean
+ nullable: true
+ type: object
endpoint:
type: string
errorMsg:
@@ -1708,6 +2217,12 @@
type: integer
state:
type: string
+ targetPortEnd:
+ format: int32
+ type: integer
+ targetPortStart:
+ format: int32
+ type: integer
type:
type: string
type: object
@@ -1720,12 +2235,20 @@
spec:
properties:
backendStoreDriver:
+ description: Deprecated:Replaced by field `dataEngine`.
+ type: string
+ dataEngine:
type: string
name:
type: string
type: object
status:
properties:
+ conditions:
+ additionalProperties:
+ type: boolean
+ nullable: true
+ type: object
endpoint:
type: string
errorMsg:
@@ -1743,6 +2266,12 @@
type: integer
state:
type: string
+ targetPortEnd:
+ format: int32
+ type: integer
+ targetPortStart:
+ format: int32
+ type: integer
type:
type: string
type: object
@@ -1755,12 +2284,20 @@
spec:
properties:
backendStoreDriver:
+ description: Deprecated:Replaced by field `dataEngine`.
+ type: string
+ dataEngine:
type: string
name:
type: string
type: object
status:
properties:
+ conditions:
+ additionalProperties:
+ type: boolean
+ nullable: true
+ type: object
endpoint:
type: string
errorMsg:
@@ -1778,41 +2315,43 @@
type: integer
state:
type: string
+ targetPortEnd:
+ format: int32
+ type: integer
+ targetPortStart:
+ format: int32
+ type: integer
type:
type: string
type: object
type: object
- nullable: true
description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas'
+ nullable: true
type: object
ip:
type: string
ownerID:
type: string
+ proxyApiMinVersion:
+ type: integer
+ proxyApiVersion:
+ type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: nodes.longhorn.io
spec:
- preserveUnknownFields: false
conversion:
strategy: Webhook
webhook:
@@ -1833,6 +2372,7 @@
shortNames:
- lhn
singular: node
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -1840,7 +2380,8 @@
jsonPath: .status.conditions['Ready']['status']
name: Ready
type: string
- - description: Indicate whether the user disabled/enabled replica scheduling for the node
+ - description: Indicate whether the user disabled/enabled replica scheduling for
+ the node
jsonPath: .spec.allowScheduling
name: AllowScheduling
type: boolean
@@ -1857,10 +2398,19 @@
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'
+ 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: |-
+ 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
@@ -1878,7 +2428,8 @@
jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- - description: Indicate whether the user disabled/enabled replica scheduling for the node
+ - description: Indicate whether the user disabled/enabled replica scheduling for
+ the node
jsonPath: .spec.allowScheduling
name: AllowScheduling
type: boolean
@@ -1895,10 +2446,19 @@
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'
+ 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: |-
+ 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
@@ -1912,6 +2472,17 @@
properties:
allowScheduling:
type: boolean
+ diskDriver:
+ enum:
+ - ""
+ - auto
+ - aio
+ type: string
+ diskType:
+ enum:
+ - filesystem
+ - block
+ type: string
evictionRequested:
type: boolean
path:
@@ -1923,11 +2494,6 @@
items:
type: string
type: array
- diskType:
- enum:
- - filesystem
- - block
- type: string
type: object
type: object
evictionRequested:
@@ -1944,6 +2510,8 @@
status:
description: NodeStatus defines the observed state of the Longhorn node
properties:
+ autoEvicting:
+ type: boolean
conditions:
items:
properties:
@@ -1951,16 +2519,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -1978,16 +2551,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from
+ one status to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details
+ about last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -1995,10 +2573,26 @@
type: object
nullable: true
type: array
+ diskDriver:
+ type: string
+ diskName:
+ type: string
+ diskPath:
+ type: string
diskType:
type: string
diskUUID:
type: string
+ filesystemType:
+ type: string
+ instanceManagerName:
+ type: string
+ scheduledBackingImage:
+ additionalProperties:
+ format: int64
+ type: integer
+ nullable: true
+ type: object
scheduledReplica:
additionalProperties:
format: int64
@@ -2024,8 +2618,6 @@
lastPeriodicCheckedAt:
format: date-time
type: string
- snapshotCheckState:
- type: string
type: object
zone:
type: string
@@ -2035,19 +2627,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: orphans.longhorn.io
@@ -2077,21 +2662,34 @@
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'
+ 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: |-
+ 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
+ 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.
+ 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".
+ description: |-
+ The type of the orphaned data.
+ Can be "replica".
type: string
parameters:
additionalProperties:
@@ -2100,7 +2698,8 @@
type: object
type: object
status:
- description: OrphanStatus defines the observed state of the Longhorn orphaned data
+ description: OrphanStatus defines the observed state of the Longhorn orphaned
+ data
properties:
conditions:
items:
@@ -2109,16 +2708,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -2134,20 +2738,13 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels:
+ controller-gen.kubebuilder.io/version: v0.15.0
+ labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: recurringjobs.longhorn.io
spec:
@@ -2162,7 +2759,8 @@
scope: Namespaced
versions:
- additionalPrinterColumns:
- - description: Sets groupings to the jobs. When set to "default" group will be added to the volume label when no other job label exist in volume
+ - description: Sets groupings to the jobs. When set to "default" group will be
+ added to the volume label when no other job label exist in volume
jsonPath: .spec.groups
name: Groups
type: string
@@ -2195,10 +2793,19 @@
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'
+ 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: |-
+ 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
@@ -2212,11 +2819,13 @@
subresources:
status: {}
- additionalPrinterColumns:
- - description: Sets groupings to the jobs. When set to "default" group will be added to the volume label when no other job label exist in volume
+ - description: Sets groupings to the jobs. When set to "default" group will be
+ added to the volume label when no other job label exist in volume
jsonPath: .spec.groups
name: Groups
type: string
- - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
+ - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup",
+ "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
jsonPath: .spec.task
name: Task
type: string
@@ -2245,15 +2854,25 @@
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'
+ 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: |-
+ 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: RecurringJobSpec defines the desired state of the Longhorn recurring job
+ description: RecurringJobSpec defines the desired state of the Longhorn
+ recurring job
properties:
concurrency:
description: The concurrency of taking the snapshot/backup.
@@ -2274,11 +2893,20 @@
name:
description: The recurring job name.
type: string
+ parameters:
+ additionalProperties:
+ type: string
+ description: |-
+ The parameters of the snapshot/backup.
+ Support parameters: "full-backup-interval".
+ type: object
retain:
description: The retain count of the snapshot/backup.
type: integer
task:
- description: The recurring job task. Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
+ description: |-
+ The recurring job task.
+ Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create" or "filesystem-trim"
enum:
- snapshot
- snapshot-force-create
@@ -2290,10 +2918,15 @@
type: string
type: object
status:
- description: RecurringJobStatus defines the observed state of the Longhorn recurring job
+ description: RecurringJobStatus defines the observed state of the Longhorn
+ recurring job
properties:
+ executionCount:
+ description: The number of jobs that have been triggered.
+ type: integer
ownerID:
- description: The owner ID which is responsible to reconcile this recurring job CR.
+ description: The owner ID which is responsible to reconcile this recurring
+ job CR.
type: string
type: object
type: object
@@ -2301,19 +2934,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: replicas.longhorn.io
@@ -2326,6 +2952,7 @@
shortNames:
- lhr
singular: replica
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -2358,10 +2985,19 @@
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'
+ 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: |-
+ 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
@@ -2375,6 +3011,10 @@
subresources:
status: {}
- additionalPrinterColumns:
+ - description: The data engine of the replica
+ jsonPath: .spec.dataEngine
+ name: Data Engine
+ type: string
- description: The current state of the replica
jsonPath: .status.currentState
name: State
@@ -2404,10 +3044,19 @@
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'
+ 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: |-
+ 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
@@ -2417,14 +3066,17 @@
active:
type: boolean
backendStoreDriver:
- enum:
- - v1
- - v2
+ description: Deprecated:Replaced by field `dataEngine`.
type: string
backingImage:
type: string
dataDirectoryName:
type: string
+ dataEngine:
+ enum:
+ - v1
+ - v2
+ type: string
desireState:
type: string
diskID:
@@ -2432,17 +3084,58 @@
diskPath:
type: string
engineImage:
+ description: 'Deprecated: Replaced by field `image`.'
type: string
engineName:
type: string
+ evictionRequested:
+ type: boolean
failedAt:
+ 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.
type: string
hardNodeAffinity:
type: string
healthyAt:
+ 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.
+ type: string
+ image:
+ type: string
+ lastFailedAt:
+ 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.
type: string
logRequested:
type: boolean
+ migrationEngineName:
+ description: |-
+ MigrationEngineName is indicating the migrating engine which current connected to this replica. This is only
+ used for live migration of v2 data engine
+ type: string
nodeID:
type: string
rebuildRetryCount:
@@ -2451,6 +3144,11 @@
type: boolean
salvageRequested:
type: boolean
+ snapshotMaxCount:
+ type: integer
+ snapshotMaxSize:
+ format: int64
+ type: string
unmapMarkDiskChainRemovedEnabled:
type: boolean
volumeName:
@@ -2460,7 +3158,8 @@
type: string
type: object
status:
- description: ReplicaStatus defines the observed state of the Longhorn replica
+ description: ReplicaStatus defines the observed state of the Longhorn
+ replica
properties:
conditions:
items:
@@ -2469,16 +3168,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -2491,6 +3195,7 @@
currentState:
type: string
evictionRequested:
+ description: 'Deprecated: Replaced by field `spec.evictionRequested`.'
type: boolean
instanceManagerName:
type: string
@@ -2514,19 +3219,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: settings.longhorn.io
@@ -2539,6 +3237,7 @@
shortNames:
- lhs
singular: setting
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -2555,10 +3254,19 @@
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'
+ 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: |-
+ 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
@@ -2576,6 +3284,10 @@
jsonPath: .value
name: Value
type: string
+ - description: The setting is applied
+ jsonPath: .status.applied
+ name: Applied
+ type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
@@ -2585,14 +3297,33 @@
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'
+ 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: |-
+ 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
+ status:
+ description: The status of the setting.
+ properties:
+ applied:
+ description: The setting is applied.
+ type: boolean
+ required:
+ - applied
+ type: object
value:
+ description: The value of the setting.
type: string
required:
- value
@@ -2601,19 +3332,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: sharemanagers.longhorn.io
@@ -2646,10 +3370,19 @@
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'
+ 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: |-
+ 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
@@ -2680,28 +3413,42 @@
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'
+ 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: |-
+ 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: ShareManagerSpec defines the desired state of the Longhorn
+ share manager
properties:
image:
- description: Share manager image used for creating a share manager pod
+ description: Share manager image used for creating a share manager
+ pod
type: string
type: object
status:
- description: ShareManagerStatus defines the observed state of the Longhorn share manager
+ description: ShareManagerStatus defines the observed state of the Longhorn
+ share manager
properties:
endpoint:
- description: NFS endpoint that can access the mounted filesystem of the volume
+ description: NFS endpoint that can access the mounted filesystem of
+ the volume
type: string
ownerID:
- description: The node ID on which the controller is responsible to reconcile this share manager resource
+ description: The node ID on which the controller is responsible to
+ reconcile this share manager resource
type: string
state:
description: The state of the share manager resource
@@ -2712,19 +3459,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: snapshots.longhorn.io
@@ -2748,11 +3488,13 @@
jsonPath: .status.creationTime
name: CreationTime
type: string
- - description: Indicates if the snapshot is ready to be used to restore/backup a volume
+ - 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
+ - description: Represents the minimum size of volume required to rehydrate from
+ this snapshot
jsonPath: .status.restoreSize
name: RestoreSize
type: string
@@ -2769,10 +3511,19 @@
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'
+ 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: |-
+ 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
@@ -2789,7 +3540,9 @@
nullable: true
type: object
volume:
- description: the volume that this snapshot belongs to. This field is immutable after creation. Required
+ description: |-
+ the volume that this snapshot belongs to.
+ This field is immutable after creation.
type: string
required:
- volume
@@ -2835,19 +3588,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: supportbundles.longhorn.io
@@ -2884,15 +3630,25 @@
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'
+ 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: |-
+ 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: SupportBundleSpec defines the desired state of the Longhorn
+ SupportBundle
properties:
description:
description: A brief description of the issue
@@ -2908,7 +3664,8 @@
- description
type: object
status:
- description: SupportBundleStatus defines the observed state of the Longhorn SupportBundle
+ description: SupportBundleStatus defines the observed state of the Longhorn
+ SupportBundle
properties:
conditions:
items:
@@ -2917,16 +3674,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -2957,19 +3719,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: systembackups.longhorn.io
@@ -3007,23 +3762,36 @@
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'
+ 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: |-
+ 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: SystemBackupSpec defines the desired state of the Longhorn
+ SystemBackup
properties:
volumeBackupPolicy:
- description: The create volume backup policy Can be "if-not-present", "always" or "disabled"
+ description: |-
+ The create volume backup policy
+ Can be "if-not-present", "always" or "disabled"
nullable: true
type: string
type: object
status:
- description: SystemBackupStatus defines the observed state of the Longhorn SystemBackup
+ description: SystemBackupStatus defines the observed state of the Longhorn
+ SystemBackup
properties:
conditions:
items:
@@ -3032,16 +3800,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -3058,7 +3831,8 @@
nullable: true
type: string
lastSyncedAt:
- description: The last time that the system backup was synced into the cluster.
+ description: The last time that the system backup was synced into
+ the cluster.
format: date-time
nullable: true
type: string
@@ -3066,7 +3840,8 @@
description: The saved manager image.
type: string
ownerID:
- description: The node ID of the responsible controller to reconcile this SystemBackup.
+ description: The node ID of the responsible controller to reconcile
+ this SystemBackup.
type: string
state:
description: The system backup state.
@@ -3081,19 +3856,12 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: systemrestores.longhorn.io
@@ -3122,15 +3890,25 @@
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'
+ 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: |-
+ 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
+ description: SystemRestoreSpec defines the desired state of the Longhorn
+ SystemRestore
properties:
systemBackup:
description: The system backup name in the object store.
@@ -3139,7 +3917,8 @@
- systemBackup
type: object
status:
- description: SystemRestoreStatus defines the observed state of the Longhorn SystemRestore
+ description: SystemRestoreStatus defines the observed state of the Longhorn
+ SystemRestore
properties:
conditions:
items:
@@ -3148,16 +3927,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -3166,7 +3950,8 @@
nullable: true
type: array
ownerID:
- description: The node ID of the responsible controller to reconcile this SystemRestore.
+ description: The node ID of the responsible controller to reconcile
+ this SystemRestore.
type: string
sourceURL:
description: The source system backup URL.
@@ -3180,23 +3965,160 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
+ controller-gen.kubebuilder.io/version: v0.15.0
+ labels: {{- include "longhorn.labels" . | nindent 4 }}
+ longhorn-manager: ""
+ name: volumeattachments.longhorn.io
+spec:
+ group: longhorn.io
+ names:
+ kind: VolumeAttachment
+ listKind: VolumeAttachmentList
+ plural: volumeattachments
+ shortNames:
+ - lhva
+ singular: volumeattachment
+ scope: Namespaced
+ versions:
+ - additionalPrinterColumns:
+ - jsonPath: .metadata.creationTimestamp
+ name: Age
+ type: date
+ name: v1beta2
+ schema:
+ openAPIV3Schema:
+ 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
+ type: boolean
+ required:
+ - conditions
+ - satisfied
+ type: object
+ type: object
+ type: object
+ type: object
+ served: true
+ storage: true
+ subresources:
+ status: {}
+---
+apiVersion: apiextensions.k8s.io/v1
+kind: CustomResourceDefinition
+metadata:
+ annotations:
+ controller-gen.kubebuilder.io/version: v0.15.0
labels: {{- include "longhorn.labels" . | nindent 4 }}
longhorn-manager: ""
name: volumes.longhorn.io
spec:
- preserveUnknownFields: false
conversion:
strategy: Webhook
webhook:
@@ -3217,6 +4139,7 @@
shortNames:
- lhv
singular: volume
+ preserveUnknownFields: false
scope: Namespaced
versions:
- additionalPrinterColumns:
@@ -3249,10 +4172,19 @@
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'
+ 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: |-
+ 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
@@ -3266,6 +4198,10 @@
subresources:
status: {}
- additionalPrinterColumns:
+ - description: The data engine of the volume
+ jsonPath: .spec.dataEngine
+ name: Data Engine
+ type: string
- description: The state of the volume
jsonPath: .status.state
name: State
@@ -3295,10 +4231,19 @@
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'
+ 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: |-
+ 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
@@ -3313,9 +4258,7 @@
- rwx
type: string
backendStoreDriver:
- enum:
- - v1
- - v2
+ description: Deprecated:Replaced by field `dataEngine`.'
type: string
backingImage:
type: string
@@ -3325,6 +4268,15 @@
- lz4
- gzip
type: string
+ backupTargetName:
+ description: The backup target name that the volume will be backed
+ up to or is synced.
+ type: string
+ dataEngine:
+ enum:
+ - v1
+ - v2
+ type: string
dataLocality:
enum:
- disabled
@@ -3342,6 +4294,15 @@
encrypted:
type: boolean
engineImage:
+ description: 'Deprecated: Replaced by field `image`.'
+ type: string
+ freezeFilesystemForSnapshot:
+ description: Setting that freezes the filesystem on the root partition
+ before a snapshot is created.
+ enum:
+ - ignored
+ - enabled
+ - disabled
type: string
fromBackup:
type: string
@@ -3352,6 +4313,8 @@
- nvmf
- ""
type: string
+ image:
+ type: string
lastAttachedBy:
type: string
migratable:
@@ -3366,13 +4329,6 @@
type: array
numberOfReplicas:
type: integer
- offlineReplicaRebuilding:
- description: OfflineReplicaRebuilding is used to determine if the offline replica rebuilding feature is enabled or not
- enum:
- - ignored
- - disabled
- - enabled
- type: string
replicaAutoBalance:
enum:
- ignored
@@ -3380,15 +4336,25 @@
- least-effort
- best-effort
type: string
+ replicaDiskSoftAntiAffinity:
+ description: Replica disk soft anti affinity of the volume. Set enabled
+ to allow replicas to be scheduled in the same disk.
+ enum:
+ - ignored
+ - enabled
+ - disabled
+ type: string
replicaSoftAntiAffinity:
- description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
+ description: Replica soft anti affinity of the volume. Set enabled
+ to allow replicas to be scheduled on the same node.
enum:
- ignored
- enabled
- disabled
type: string
replicaZoneSoftAntiAffinity:
- description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone
+ description: Replica zone soft anti affinity of the volume. Set enabled
+ to allow replicas to be scheduled in the same zone.
enum:
- ignored
- enabled
@@ -3412,6 +4378,11 @@
- enabled
- fast-check
type: string
+ snapshotMaxCount:
+ type: integer
+ snapshotMaxSize:
+ format: int64
+ type: string
staleReplicaTimeout:
type: integer
unmapMarkSnapChainRemoved:
@@ -3429,6 +4400,10 @@
type: integer
cloneStatus:
properties:
+ attemptCount:
+ type: integer
+ nextAllowedAttemptAt:
+ type: string
snapshot:
type: string
sourceVolume:
@@ -3443,16 +4418,21 @@
description: Last time we probed the condition.
type: string
lastTransitionTime:
- description: Last time the condition transitioned from one status to another.
+ description: Last time the condition transitioned from one status
+ to another.
type: string
message:
- description: Human-readable message indicating details about last transition.
+ description: Human-readable message indicating details about
+ last transition.
type: string
reason:
- description: Unique, one-word, CamelCase reason for the condition's last transition.
+ 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: |-
+ Status is the status of the condition.
+ Can be True, False, Unknown.
type: string
type:
description: Type is the type of the condition.
@@ -3510,8 +4490,6 @@
type: string
lastDegradedAt:
type: string
- offlineReplicaRebuildingRequired:
- type: boolean
ownerID:
type: string
pendingNodeID:
@@ -3537,136 +4515,3 @@
storage: true
subresources:
status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []
----
-apiVersion: apiextensions.k8s.io/v1
-kind: CustomResourceDefinition
-metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.7.0
- creationTimestamp: null
- labels: {{- include "longhorn.labels" . | nindent 4 }}
- longhorn-manager: ""
- name: volumeattachments.longhorn.io
-spec:
- group: longhorn.io
- names:
- kind: VolumeAttachment
- listKind: VolumeAttachmentList
- plural: volumeattachments
- shortNames:
- - lhva
- singular: volumeattachment
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - jsonPath: .metadata.creationTimestamp
- name: Age
- type: date
- name: v1beta2
- schema:
- openAPIV3Schema:
- 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
- type: boolean
- required:
- - conditions
- - satisfied
- type: object
- type: object
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
-status:
- acceptedNames:
- kind: ""
- plural: ""
- conditions: []
- storedVersions: []