blob: c1be5f2cedd37e154b8ba5ec0500a97107d351ee [file] [log] [blame]
gio3e1b96b2026-07-21 18:52:35 +04001# Generated crds.yaml from github.com/longhorn/longhorn-manager/k8s/pkg/apis and the crds.yaml will be copied to longhorn/longhorn chart/templates and cannot be directly used by kubectl apply.
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: v0.17.1
7 labels: {{- include "longhorn.labels" . | nindent 4 }}
8 longhorn-manager: ""
9 name: backingimagedatasources.longhorn.io
10spec:
11 group: longhorn.io
12 names:
13 kind: BackingImageDataSource
14 listKind: BackingImageDataSourceList
15 plural: backingimagedatasources
16 shortNames:
17 - lhbids
18 singular: backingimagedatasource
19 scope: Namespaced
20 versions:
21 - additionalPrinterColumns:
22 - description: The system generated UUID of the provisioned backing image file
23 jsonPath: .spec.uuid
24 name: UUID
25 type: string
26 - description: The current state of the pod used to provision the backing image
27 file from source
28 jsonPath: .status.currentState
29 name: State
30 type: string
31 - description: The data source type
32 jsonPath: .spec.sourceType
33 name: SourceType
34 type: string
35 - description: The backing image file size
36 jsonPath: .status.size
37 name: Size
38 type: string
39 - description: The node the backing image file will be prepared on
40 jsonPath: .spec.nodeID
41 name: Node
42 type: string
43 - description: The disk the backing image file will be prepared on
44 jsonPath: .spec.diskUUID
45 name: DiskUUID
46 type: string
47 - jsonPath: .metadata.creationTimestamp
48 name: Age
49 type: date
50 name: v1beta2
51 schema:
52 openAPIV3Schema:
53 description: BackingImageDataSource is where Longhorn stores backing image
54 data source object.
55 properties:
56 apiVersion:
57 description: |-
58 APIVersion defines the versioned schema of this representation of an object.
59 Servers should convert recognized schemas to the latest internal value, and
60 may reject unrecognized values.
61 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
62 type: string
63 kind:
64 description: |-
65 Kind is a string value representing the REST resource this object represents.
66 Servers may infer this from the endpoint the client submits requests to.
67 Cannot be updated.
68 In CamelCase.
69 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
70 type: string
71 metadata:
72 type: object
73 spec:
74 description: BackingImageDataSourceSpec defines the desired state of the
75 Longhorn backing image data source
76 properties:
77 checksum:
78 type: string
79 diskPath:
80 type: string
81 diskUUID:
82 type: string
83 fileTransferred:
84 type: boolean
85 nodeID:
86 type: string
87 parameters:
88 additionalProperties:
89 type: string
90 type: object
91 sourceType:
92 enum:
93 - download
94 - upload
95 - export-from-volume
96 - restore
97 - clone
98 type: string
99 uuid:
100 type: string
101 type: object
102 status:
103 description: BackingImageDataSourceStatus defines the observed state of
104 the Longhorn backing image data source
105 properties:
106 checksum:
107 type: string
108 currentState:
109 type: string
110 ip:
111 type: string
112 message:
113 type: string
114 ownerID:
115 type: string
116 progress:
117 type: integer
118 runningParameters:
119 additionalProperties:
120 type: string
121 nullable: true
122 type: object
123 size:
124 format: int64
125 type: integer
126 storageIP:
127 type: string
128 type: object
129 type: object
130 served: true
131 storage: true
132 subresources:
133 status: {}
134---
135apiVersion: apiextensions.k8s.io/v1
136kind: CustomResourceDefinition
137metadata:
138 annotations:
139 controller-gen.kubebuilder.io/version: v0.17.1
140 labels: {{- include "longhorn.labels" . | nindent 4 }}
141 longhorn-manager: ""
142 name: backingimagemanagers.longhorn.io
143spec:
144 group: longhorn.io
145 names:
146 kind: BackingImageManager
147 listKind: BackingImageManagerList
148 plural: backingimagemanagers
149 shortNames:
150 - lhbim
151 singular: backingimagemanager
152 scope: Namespaced
153 versions:
154 - additionalPrinterColumns:
155 - description: The current state of the manager
156 jsonPath: .status.currentState
157 name: State
158 type: string
159 - description: The image the manager pod will use
160 jsonPath: .spec.image
161 name: Image
162 type: string
163 - description: The node the manager is on
164 jsonPath: .spec.nodeID
165 name: Node
166 type: string
167 - description: The disk the manager is responsible for
168 jsonPath: .spec.diskUUID
169 name: DiskUUID
170 type: string
171 - description: The disk path the manager is using
172 jsonPath: .spec.diskPath
173 name: DiskPath
174 type: string
175 - jsonPath: .metadata.creationTimestamp
176 name: Age
177 type: date
178 name: v1beta2
179 schema:
180 openAPIV3Schema:
181 description: BackingImageManager is where Longhorn stores backing image manager
182 object.
183 properties:
184 apiVersion:
185 description: |-
186 APIVersion defines the versioned schema of this representation of an object.
187 Servers should convert recognized schemas to the latest internal value, and
188 may reject unrecognized values.
189 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
190 type: string
191 kind:
192 description: |-
193 Kind is a string value representing the REST resource this object represents.
194 Servers may infer this from the endpoint the client submits requests to.
195 Cannot be updated.
196 In CamelCase.
197 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
198 type: string
199 metadata:
200 type: object
201 spec:
202 description: BackingImageManagerSpec defines the desired state of the
203 Longhorn backing image manager
204 properties:
205 backingImages:
206 additionalProperties:
207 type: string
208 type: object
209 diskPath:
210 type: string
211 diskUUID:
212 type: string
213 image:
214 type: string
215 nodeID:
216 type: string
217 type: object
218 status:
219 description: BackingImageManagerStatus defines the observed state of the
220 Longhorn backing image manager
221 properties:
222 apiMinVersion:
223 type: integer
224 apiVersion:
225 type: integer
226 backingImageFileMap:
227 additionalProperties:
228 properties:
229 currentChecksum:
230 type: string
231 message:
232 type: string
233 name:
234 type: string
235 progress:
236 type: integer
237 realSize:
238 format: int64
239 type: integer
240 senderManagerAddress:
241 type: string
242 sendingReference:
243 type: integer
244 size:
245 format: int64
246 type: integer
247 state:
248 type: string
249 uuid:
250 type: string
251 virtualSize:
252 format: int64
253 type: integer
254 type: object
255 nullable: true
256 type: object
257 currentState:
258 type: string
259 ip:
260 type: string
261 ownerID:
262 type: string
263 storageIP:
264 type: string
265 type: object
266 type: object
267 served: true
268 storage: true
269 subresources:
270 status: {}
271---
272apiVersion: apiextensions.k8s.io/v1
273kind: CustomResourceDefinition
274metadata:
275 annotations:
276 controller-gen.kubebuilder.io/version: v0.17.1
277 labels: {{- include "longhorn.labels" . | nindent 4 }}
278 longhorn-manager: ""
279 name: backingimages.longhorn.io
280spec:
281 group: longhorn.io
282 names:
283 kind: BackingImage
284 listKind: BackingImageList
285 plural: backingimages
286 shortNames:
287 - lhbi
288 singular: backingimage
289 scope: Namespaced
290 versions:
291 - additionalPrinterColumns:
292 - description: The system generated UUID
293 jsonPath: .status.uuid
294 name: UUID
295 type: string
296 - description: The source of the backing image file data
297 jsonPath: .spec.sourceType
298 name: SourceType
299 type: string
300 - description: The backing image file size in each disk
301 jsonPath: .status.size
302 name: Size
303 type: string
304 - description: The virtual size of the image (may be larger than file size)
305 jsonPath: .status.virtualSize
306 name: VirtualSize
307 type: string
308 - jsonPath: .metadata.creationTimestamp
309 name: Age
310 type: date
311 name: v1beta2
312 schema:
313 openAPIV3Schema:
314 description: BackingImage is where Longhorn stores backing image object.
315 properties:
316 apiVersion:
317 description: |-
318 APIVersion defines the versioned schema of this representation of an object.
319 Servers should convert recognized schemas to the latest internal value, and
320 may reject unrecognized values.
321 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
322 type: string
323 kind:
324 description: |-
325 Kind is a string value representing the REST resource this object represents.
326 Servers may infer this from the endpoint the client submits requests to.
327 Cannot be updated.
328 In CamelCase.
329 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
330 type: string
331 metadata:
332 type: object
333 spec:
334 description: BackingImageSpec defines the desired state of the Longhorn
335 backing image
336 properties:
337 checksum:
338 type: string
339 dataEngine:
340 default: v1
341 enum:
342 - v1
343 - v2
344 type: string
345 diskFileSpecMap:
346 additionalProperties:
347 properties:
348 dataEngine:
349 enum:
350 - v1
351 - v2
352 type: string
353 evictionRequested:
354 type: boolean
355 type: object
356 type: object
357 diskSelector:
358 items:
359 type: string
360 type: array
361 disks:
362 additionalProperties:
363 type: string
364 description: Deprecated. We are now using DiskFileSpecMap to assign
365 different spec to the file on different disks.
366 type: object
367 minNumberOfCopies:
368 type: integer
369 nodeSelector:
370 items:
371 type: string
372 type: array
373 secret:
374 type: string
375 secretNamespace:
376 type: string
377 sourceParameters:
378 additionalProperties:
379 type: string
380 type: object
381 sourceType:
382 enum:
383 - download
384 - upload
385 - export-from-volume
386 - restore
387 - clone
388 type: string
389 type: object
390 status:
391 description: BackingImageStatus defines the observed state of the Longhorn
392 backing image status
393 properties:
394 checksum:
395 type: string
396 diskFileStatusMap:
397 additionalProperties:
398 properties:
399 dataEngine:
400 enum:
401 - v1
402 - v2
403 type: string
404 lastStateTransitionTime:
405 type: string
406 message:
407 type: string
408 progress:
409 type: integer
410 state:
411 type: string
412 type: object
413 nullable: true
414 type: object
415 diskLastRefAtMap:
416 additionalProperties:
417 type: string
418 nullable: true
419 type: object
420 ownerID:
421 type: string
422 realSize:
423 description: Real size of image in bytes, which may be smaller than
424 the size when the file is a sparse file. Will be zero until known
425 (e.g. while a backing image is uploading)
426 format: int64
427 type: integer
428 size:
429 format: int64
430 type: integer
431 uuid:
432 type: string
433 v2FirstCopyDisk:
434 type: string
435 v2FirstCopyStatus:
436 description: It is pending -> in-progress -> ready/failed
437 type: string
438 virtualSize:
439 description: Virtual size of image in bytes, which may be larger than
440 physical size. Will be zero until known (e.g. while a backing image
441 is uploading)
442 format: int64
443 type: integer
444 type: object
445 type: object
446 served: true
447 storage: true
448 subresources:
449 status: {}
450---
451apiVersion: apiextensions.k8s.io/v1
452kind: CustomResourceDefinition
453metadata:
454 annotations:
455 controller-gen.kubebuilder.io/version: v0.17.1
456 labels: {{- include "longhorn.labels" . | nindent 4 }}
457 longhorn-manager: ""
458 name: backupbackingimages.longhorn.io
459spec:
460 group: longhorn.io
461 names:
462 kind: BackupBackingImage
463 listKind: BackupBackingImageList
464 plural: backupbackingimages
465 shortNames:
466 - lhbbi
467 singular: backupbackingimage
468 scope: Namespaced
469 versions:
470 - additionalPrinterColumns:
471 - description: The backing image name
472 jsonPath: .status.backingImage
473 name: BackingImage
474 type: string
475 - description: The backing image size
476 jsonPath: .status.size
477 name: Size
478 type: string
479 - description: The backing image backup upload finished time
480 jsonPath: .status.backupCreatedAt
481 name: BackupCreatedAt
482 type: string
483 - description: The backing image backup state
484 jsonPath: .status.state
485 name: State
486 type: string
487 - description: The last synced time
488 jsonPath: .status.lastSyncedAt
489 name: LastSyncedAt
490 type: string
491 name: v1beta2
492 schema:
493 openAPIV3Schema:
494 description: BackupBackingImage is where Longhorn stores backing image backup
495 object.
496 properties:
497 apiVersion:
498 description: |-
499 APIVersion defines the versioned schema of this representation of an object.
500 Servers should convert recognized schemas to the latest internal value, and
501 may reject unrecognized values.
502 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
503 type: string
504 kind:
505 description: |-
506 Kind is a string value representing the REST resource this object represents.
507 Servers may infer this from the endpoint the client submits requests to.
508 Cannot be updated.
509 In CamelCase.
510 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
511 type: string
512 metadata:
513 type: object
514 spec:
515 description: BackupBackingImageSpec defines the desired state of the Longhorn
516 backing image backup
517 properties:
518 backingImage:
519 description: The backing image name.
520 type: string
521 backupTargetName:
522 description: The backup target name.
523 nullable: true
524 type: string
525 labels:
526 additionalProperties:
527 type: string
528 description: The labels of backing image backup.
529 type: object
530 syncRequestedAt:
531 description: The time to request run sync the remote backing image
532 backup.
533 format: date-time
534 nullable: true
535 type: string
536 userCreated:
537 description: Is this CR created by user through API or UI.
538 type: boolean
539 required:
540 - backingImage
541 - userCreated
542 type: object
543 status:
544 description: BackupBackingImageStatus defines the observed state of the
545 Longhorn backing image backup
546 properties:
547 backingImage:
548 description: The backing image name.
549 type: string
550 backupCreatedAt:
551 description: The backing image backup upload finished time.
552 type: string
553 checksum:
554 description: The checksum of the backing image.
555 type: string
556 compressionMethod:
557 description: Compression method
558 type: string
559 error:
560 description: The error message when taking the backing image backup.
561 type: string
562 labels:
563 additionalProperties:
564 type: string
565 description: The labels of backing image backup.
566 nullable: true
567 type: object
568 lastSyncedAt:
569 description: The last time that the backing image backup was synced
570 with the remote backup target.
571 format: date-time
572 nullable: true
573 type: string
574 managerAddress:
575 description: The address of the backing image manager that runs backing
576 image backup.
577 type: string
578 messages:
579 additionalProperties:
580 type: string
581 description: The error messages when listing or inspecting backing
582 image backup.
583 nullable: true
584 type: object
585 ownerID:
586 description: The node ID on which the controller is responsible to
587 reconcile this CR.
588 type: string
589 progress:
590 description: The backing image backup progress.
591 type: integer
592 secret:
593 description: Record the secret if this backup backing image is encrypted
594 type: string
595 secretNamespace:
596 description: Record the secret namespace if this backup backing image
597 is encrypted
598 type: string
599 size:
600 description: The backing image size.
601 format: int64
602 type: integer
603 state:
604 description: |-
605 The backing image backup creation state.
606 Can be "", "InProgress", "Completed", "Error", "Unknown".
607 type: string
608 url:
609 description: The backing image backup URL.
610 type: string
611 type: object
612 type: object
613 served: true
614 storage: true
615 subresources:
616 status: {}
617---
618apiVersion: apiextensions.k8s.io/v1
619kind: CustomResourceDefinition
620metadata:
621 annotations:
622 controller-gen.kubebuilder.io/version: v0.17.1
623 labels: {{- include "longhorn.labels" . | nindent 4 }}
624 longhorn-manager: ""
625 name: backups.longhorn.io
626spec:
627 group: longhorn.io
628 names:
629 kind: Backup
630 listKind: BackupList
631 plural: backups
632 shortNames:
633 - lhb
634 singular: backup
635 scope: Namespaced
636 versions:
637 - additionalPrinterColumns:
638 - description: The snapshot name
639 jsonPath: .status.snapshotName
640 name: SnapshotName
641 type: string
642 - description: The snapshot size
643 jsonPath: .status.size
644 name: SnapshotSize
645 type: string
646 - description: The snapshot creation time
647 jsonPath: .status.snapshotCreatedAt
648 name: SnapshotCreatedAt
649 type: string
650 - description: The backup target name
651 jsonPath: .status.backupTargetName
652 name: BackupTarget
653 type: string
654 - description: The backup state
655 jsonPath: .status.state
656 name: State
657 type: string
658 - description: The backup last synced time
659 jsonPath: .status.lastSyncedAt
660 name: LastSyncedAt
661 type: string
662 name: v1beta2
663 schema:
664 openAPIV3Schema:
665 description: Backup is where Longhorn stores backup object.
666 properties:
667 apiVersion:
668 description: |-
669 APIVersion defines the versioned schema of this representation of an object.
670 Servers should convert recognized schemas to the latest internal value, and
671 may reject unrecognized values.
672 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
673 type: string
674 kind:
675 description: |-
676 Kind is a string value representing the REST resource this object represents.
677 Servers may infer this from the endpoint the client submits requests to.
678 Cannot be updated.
679 In CamelCase.
680 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
681 type: string
682 metadata:
683 type: object
684 spec:
685 description: BackupSpec defines the desired state of the Longhorn backup
686 properties:
687 backupBlockSize:
688 description: The backup block size. 0 means the legacy default size
689 2MiB, and -1 indicate the block size is invalid.
690 enum:
691 - "-1"
692 - "2097152"
693 - "16777216"
694 format: int64
695 type: string
696 backupMode:
697 description: |-
698 The backup mode of this backup.
699 Can be "full" or "incremental"
700 enum:
701 - full
702 - incremental
703 - ""
704 type: string
705 labels:
706 additionalProperties:
707 type: string
708 description: The labels of snapshot backup.
709 type: object
710 snapshotName:
711 description: The snapshot name.
712 type: string
713 syncRequestedAt:
714 description: The time to request run sync the remote backup.
715 format: date-time
716 nullable: true
717 type: string
718 type: object
719 status:
720 description: BackupStatus defines the observed state of the Longhorn backup
721 properties:
722 backupCreatedAt:
723 description: The snapshot backup upload finished time.
724 type: string
725 backupTargetName:
726 description: The backup target name.
727 type: string
728 compressionMethod:
729 description: Compression method
730 type: string
731 error:
732 description: The error message when taking the snapshot backup.
733 type: string
734 labels:
735 additionalProperties:
736 type: string
737 description: The labels of snapshot backup.
738 nullable: true
739 type: object
740 lastSyncedAt:
741 description: The last time that the backup was synced with the remote
742 backup target.
743 format: date-time
744 nullable: true
745 type: string
746 messages:
747 additionalProperties:
748 type: string
749 description: The error messages when calling longhorn engine on listing
750 or inspecting backups.
751 nullable: true
752 type: object
753 newlyUploadDataSize:
754 description: Size in bytes of newly uploaded data
755 type: string
756 ownerID:
757 description: The node ID on which the controller is responsible to
758 reconcile this backup CR.
759 type: string
760 progress:
761 description: The snapshot backup progress.
762 type: integer
763 reUploadedDataSize:
764 description: Size in bytes of reuploaded data
765 type: string
766 replicaAddress:
767 description: The address of the replica that runs snapshot backup.
768 type: string
769 size:
770 description: The snapshot size.
771 type: string
772 snapshotCreatedAt:
773 description: The snapshot creation time.
774 type: string
775 snapshotName:
776 description: The snapshot name.
777 type: string
778 state:
779 description: |-
780 The backup creation state.
781 Can be "", "InProgress", "Completed", "Error", "Unknown".
782 type: string
783 url:
784 description: The snapshot backup URL.
785 type: string
786 volumeBackingImageName:
787 description: The volume's backing image name.
788 type: string
789 volumeCreated:
790 description: The volume creation time.
791 type: string
792 volumeName:
793 description: The volume name.
794 type: string
795 volumeSize:
796 description: The volume size.
797 type: string
798 type: object
799 type: object
800 served: true
801 storage: true
802 subresources:
803 status: {}
804---
805apiVersion: apiextensions.k8s.io/v1
806kind: CustomResourceDefinition
807metadata:
808 annotations:
809 controller-gen.kubebuilder.io/version: v0.17.1
810 labels: {{- include "longhorn.labels" . | nindent 4 }}
811 longhorn-manager: ""
812 name: backuptargets.longhorn.io
813spec:
814 group: longhorn.io
815 names:
816 kind: BackupTarget
817 listKind: BackupTargetList
818 plural: backuptargets
819 shortNames:
820 - lhbt
821 singular: backuptarget
822 scope: Namespaced
823 versions:
824 - additionalPrinterColumns:
825 - description: The backup target URL
826 jsonPath: .spec.backupTargetURL
827 name: URL
828 type: string
829 - description: The backup target credential secret
830 jsonPath: .spec.credentialSecret
831 name: Credential
832 type: string
833 - description: The backup target poll interval
834 jsonPath: .spec.pollInterval
835 name: LastBackupAt
836 type: string
837 - description: Indicate whether the backup target is available or not
838 jsonPath: .status.available
839 name: Available
840 type: boolean
841 - description: The backup target last synced time
842 jsonPath: .status.lastSyncedAt
843 name: LastSyncedAt
844 type: string
845 name: v1beta2
846 schema:
847 openAPIV3Schema:
848 description: BackupTarget is where Longhorn stores backup target object.
849 properties:
850 apiVersion:
851 description: |-
852 APIVersion defines the versioned schema of this representation of an object.
853 Servers should convert recognized schemas to the latest internal value, and
854 may reject unrecognized values.
855 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
856 type: string
857 kind:
858 description: |-
859 Kind is a string value representing the REST resource this object represents.
860 Servers may infer this from the endpoint the client submits requests to.
861 Cannot be updated.
862 In CamelCase.
863 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
864 type: string
865 metadata:
866 type: object
867 spec:
868 description: BackupTargetSpec defines the desired state of the Longhorn
869 backup target
870 properties:
871 backupTargetURL:
872 description: The backup target URL.
873 type: string
874 credentialSecret:
875 description: The backup target credential secret.
876 type: string
877 pollInterval:
878 description: The interval that the cluster needs to run sync with
879 the backup target.
880 type: string
881 syncRequestedAt:
882 description: The time to request run sync the remote backup target.
883 format: date-time
884 nullable: true
885 type: string
886 type: object
887 status:
888 description: BackupTargetStatus defines the observed state of the Longhorn
889 backup target
890 properties:
891 available:
892 description: Available indicates if the remote backup target is available
893 or not.
894 type: boolean
895 conditions:
896 description: Records the reason on why the backup target is unavailable.
897 items:
898 properties:
899 lastProbeTime:
900 description: Last time we probed the condition.
901 type: string
902 lastTransitionTime:
903 description: Last time the condition transitioned from one status
904 to another.
905 type: string
906 message:
907 description: Human-readable message indicating details about
908 last transition.
909 type: string
910 reason:
911 description: Unique, one-word, CamelCase reason for the condition's
912 last transition.
913 type: string
914 status:
915 description: |-
916 Status is the status of the condition.
917 Can be True, False, Unknown.
918 type: string
919 type:
920 description: Type is the type of the condition.
921 type: string
922 type: object
923 nullable: true
924 type: array
925 lastSyncedAt:
926 description: The last time that the controller synced with the remote
927 backup target.
928 format: date-time
929 nullable: true
930 type: string
931 ownerID:
932 description: The node ID on which the controller is responsible to
933 reconcile this backup target CR.
934 type: string
935 type: object
936 type: object
937 served: true
938 storage: true
939 subresources:
940 status: {}
941---
942apiVersion: apiextensions.k8s.io/v1
943kind: CustomResourceDefinition
944metadata:
945 annotations:
946 controller-gen.kubebuilder.io/version: v0.17.1
947 labels: {{- include "longhorn.labels" . | nindent 4 }}
948 longhorn-manager: ""
949 name: backupvolumes.longhorn.io
950spec:
951 group: longhorn.io
952 names:
953 kind: BackupVolume
954 listKind: BackupVolumeList
955 plural: backupvolumes
956 shortNames:
957 - lhbv
958 singular: backupvolume
959 scope: Namespaced
960 versions:
961 - additionalPrinterColumns:
962 - description: The backup target name
963 jsonPath: .spec.backupTargetName
964 name: BackupTarget
965 type: string
966 - description: The backup volume creation time
967 jsonPath: .status.createdAt
968 name: CreatedAt
969 type: string
970 - description: The backup volume last backup name
971 jsonPath: .status.lastBackupName
972 name: LastBackupName
973 type: string
974 - description: The backup volume last backup time
975 jsonPath: .status.lastBackupAt
976 name: LastBackupAt
977 type: string
978 - description: The backup volume last synced time
979 jsonPath: .status.lastSyncedAt
980 name: LastSyncedAt
981 type: string
982 name: v1beta2
983 schema:
984 openAPIV3Schema:
985 description: BackupVolume is where Longhorn stores backup volume object.
986 properties:
987 apiVersion:
988 description: |-
989 APIVersion defines the versioned schema of this representation of an object.
990 Servers should convert recognized schemas to the latest internal value, and
991 may reject unrecognized values.
992 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
993 type: string
994 kind:
995 description: |-
996 Kind is a string value representing the REST resource this object represents.
997 Servers may infer this from the endpoint the client submits requests to.
998 Cannot be updated.
999 In CamelCase.
1000 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1001 type: string
1002 metadata:
1003 type: object
1004 spec:
1005 description: BackupVolumeSpec defines the desired state of the Longhorn
1006 backup volume
1007 properties:
1008 backupTargetName:
1009 description: The backup target name that the backup volume was synced.
1010 nullable: true
1011 type: string
1012 syncRequestedAt:
1013 description: The time to request run sync the remote backup volume.
1014 format: date-time
1015 nullable: true
1016 type: string
1017 volumeName:
1018 description: The volume name that the backup volume was used to backup.
1019 type: string
1020 type: object
1021 status:
1022 description: BackupVolumeStatus defines the observed state of the Longhorn
1023 backup volume
1024 properties:
1025 backingImageChecksum:
1026 description: the backing image checksum.
1027 type: string
1028 backingImageName:
1029 description: The backing image name.
1030 type: string
1031 createdAt:
1032 description: The backup volume creation time.
1033 type: string
1034 dataStored:
1035 description: The backup volume block count.
1036 type: string
1037 labels:
1038 additionalProperties:
1039 type: string
1040 description: The backup volume labels.
1041 nullable: true
1042 type: object
1043 lastBackupAt:
1044 description: The latest volume backup time.
1045 type: string
1046 lastBackupName:
1047 description: The latest volume backup name.
1048 type: string
1049 lastModificationTime:
1050 description: The backup volume config last modification time.
1051 format: date-time
1052 nullable: true
1053 type: string
1054 lastSyncedAt:
1055 description: The last time that the backup volume was synced into
1056 the cluster.
1057 format: date-time
1058 nullable: true
1059 type: string
1060 messages:
1061 additionalProperties:
1062 type: string
1063 description: The error messages when call longhorn engine on list
1064 or inspect backup volumes.
1065 nullable: true
1066 type: object
1067 ownerID:
1068 description: The node ID on which the controller is responsible to
1069 reconcile this backup volume CR.
1070 type: string
1071 size:
1072 description: The backup volume size.
1073 type: string
1074 storageClassName:
1075 description: the storage class name of pv/pvc binding with the volume.
1076 type: string
1077 type: object
1078 type: object
1079 served: true
1080 storage: true
1081 subresources:
1082 status: {}
1083---
1084apiVersion: apiextensions.k8s.io/v1
1085kind: CustomResourceDefinition
1086metadata:
1087 annotations:
1088 controller-gen.kubebuilder.io/version: v0.17.1
1089 labels: {{- include "longhorn.labels" . | nindent 4 }}
1090 longhorn-manager: ""
1091 name: engineimages.longhorn.io
1092spec:
1093 group: longhorn.io
1094 names:
1095 kind: EngineImage
1096 listKind: EngineImageList
1097 plural: engineimages
1098 shortNames:
1099 - lhei
1100 singular: engineimage
1101 scope: Namespaced
1102 versions:
1103 - additionalPrinterColumns:
1104 - description: Compatibility of the engine image
1105 jsonPath: .status.incompatible
1106 name: Incompatible
1107 type: boolean
1108 - description: State of the engine image
1109 jsonPath: .status.state
1110 name: State
1111 type: string
1112 - description: The Longhorn engine image
1113 jsonPath: .spec.image
1114 name: Image
1115 type: string
1116 - description: Number of resources using the engine image
1117 jsonPath: .status.refCount
1118 name: RefCount
1119 type: integer
1120 - description: The build date of the engine image
1121 jsonPath: .status.buildDate
1122 name: BuildDate
1123 type: date
1124 - jsonPath: .metadata.creationTimestamp
1125 name: Age
1126 type: date
1127 name: v1beta2
1128 schema:
1129 openAPIV3Schema:
1130 description: EngineImage is where Longhorn stores engine image object.
1131 properties:
1132 apiVersion:
1133 description: |-
1134 APIVersion defines the versioned schema of this representation of an object.
1135 Servers should convert recognized schemas to the latest internal value, and
1136 may reject unrecognized values.
1137 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1138 type: string
1139 kind:
1140 description: |-
1141 Kind is a string value representing the REST resource this object represents.
1142 Servers may infer this from the endpoint the client submits requests to.
1143 Cannot be updated.
1144 In CamelCase.
1145 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1146 type: string
1147 metadata:
1148 type: object
1149 spec:
1150 description: EngineImageSpec defines the desired state of the Longhorn
1151 engine image
1152 properties:
1153 image:
1154 minLength: 1
1155 type: string
1156 required:
1157 - image
1158 type: object
1159 status:
1160 description: EngineImageStatus defines the observed state of the Longhorn
1161 engine image
1162 properties:
1163 buildDate:
1164 type: string
1165 cliAPIMinVersion:
1166 type: integer
1167 cliAPIVersion:
1168 type: integer
1169 conditions:
1170 items:
1171 properties:
1172 lastProbeTime:
1173 description: Last time we probed the condition.
1174 type: string
1175 lastTransitionTime:
1176 description: Last time the condition transitioned from one status
1177 to another.
1178 type: string
1179 message:
1180 description: Human-readable message indicating details about
1181 last transition.
1182 type: string
1183 reason:
1184 description: Unique, one-word, CamelCase reason for the condition's
1185 last transition.
1186 type: string
1187 status:
1188 description: |-
1189 Status is the status of the condition.
1190 Can be True, False, Unknown.
1191 type: string
1192 type:
1193 description: Type is the type of the condition.
1194 type: string
1195 type: object
1196 nullable: true
1197 type: array
1198 controllerAPIMinVersion:
1199 type: integer
1200 controllerAPIVersion:
1201 type: integer
1202 dataFormatMinVersion:
1203 type: integer
1204 dataFormatVersion:
1205 type: integer
1206 gitCommit:
1207 type: string
1208 incompatible:
1209 type: boolean
1210 noRefSince:
1211 type: string
1212 nodeDeploymentMap:
1213 additionalProperties:
1214 type: boolean
1215 nullable: true
1216 type: object
1217 ownerID:
1218 type: string
1219 refCount:
1220 type: integer
1221 state:
1222 type: string
1223 version:
1224 type: string
1225 type: object
1226 type: object
1227 served: true
1228 storage: true
1229 subresources:
1230 status: {}
1231---
1232apiVersion: apiextensions.k8s.io/v1
1233kind: CustomResourceDefinition
1234metadata:
1235 annotations:
1236 controller-gen.kubebuilder.io/version: v0.17.1
1237 labels: {{- include "longhorn.labels" . | nindent 4 }}
1238 longhorn-manager: ""
1239 name: engines.longhorn.io
1240spec:
1241 group: longhorn.io
1242 names:
1243 kind: Engine
1244 listKind: EngineList
1245 plural: engines
1246 shortNames:
1247 - lhe
1248 singular: engine
1249 scope: Namespaced
1250 versions:
1251 - additionalPrinterColumns:
1252 - description: The data engine of the engine
1253 jsonPath: .spec.dataEngine
1254 name: Data Engine
1255 type: string
1256 - description: The current state of the engine
1257 jsonPath: .status.currentState
1258 name: State
1259 type: string
1260 - description: The node that the engine is on
1261 jsonPath: .spec.nodeID
1262 name: Node
1263 type: string
1264 - description: The instance manager of the engine
1265 jsonPath: .status.instanceManagerName
1266 name: InstanceManager
1267 type: string
1268 - description: The current image of the engine
1269 jsonPath: .status.currentImage
1270 name: Image
1271 type: string
1272 - jsonPath: .metadata.creationTimestamp
1273 name: Age
1274 type: date
1275 name: v1beta2
1276 schema:
1277 openAPIV3Schema:
1278 description: Engine is where Longhorn stores engine object.
1279 properties:
1280 apiVersion:
1281 description: |-
1282 APIVersion defines the versioned schema of this representation of an object.
1283 Servers should convert recognized schemas to the latest internal value, and
1284 may reject unrecognized values.
1285 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1286 type: string
1287 kind:
1288 description: |-
1289 Kind is a string value representing the REST resource this object represents.
1290 Servers may infer this from the endpoint the client submits requests to.
1291 Cannot be updated.
1292 In CamelCase.
1293 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1294 type: string
1295 metadata:
1296 type: object
1297 spec:
1298 description: EngineSpec defines the desired state of the Longhorn engine
1299 properties:
1300 active:
1301 type: boolean
1302 backupVolume:
1303 type: string
1304 dataEngine:
1305 enum:
1306 - v1
1307 - v2
1308 type: string
1309 desireState:
1310 type: string
1311 disableFrontend:
1312 type: boolean
1313 frontend:
1314 enum:
1315 - blockdev
1316 - iscsi
1317 - nvmf
1318 - ublk
1319 - ""
1320 type: string
1321 image:
1322 type: string
1323 logRequested:
1324 type: boolean
1325 nodeID:
1326 type: string
1327 replicaAddressMap:
1328 additionalProperties:
1329 type: string
1330 type: object
1331 requestedBackupRestore:
1332 type: string
1333 requestedDataSource:
1334 type: string
1335 revisionCounterDisabled:
1336 type: boolean
1337 salvageRequested:
1338 type: boolean
1339 snapshotMaxCount:
1340 type: integer
1341 snapshotMaxSize:
1342 format: int64
1343 type: string
1344 unmapMarkSnapChainRemovedEnabled:
1345 type: boolean
1346 upgradedReplicaAddressMap:
1347 additionalProperties:
1348 type: string
1349 type: object
1350 volumeName:
1351 type: string
1352 volumeSize:
1353 format: int64
1354 type: string
1355 type: object
1356 status:
1357 description: EngineStatus defines the observed state of the Longhorn engine
1358 properties:
1359 backupStatus:
1360 additionalProperties:
1361 properties:
1362 backupURL:
1363 type: string
1364 error:
1365 type: string
1366 progress:
1367 type: integer
1368 replicaAddress:
1369 type: string
1370 snapshotName:
1371 type: string
1372 state:
1373 type: string
1374 type: object
1375 nullable: true
1376 type: object
1377 cloneStatus:
1378 additionalProperties:
1379 properties:
1380 error:
1381 type: string
1382 fromReplicaAddress:
1383 type: string
1384 isCloning:
1385 type: boolean
1386 progress:
1387 type: integer
1388 snapshotName:
1389 type: string
1390 state:
1391 type: string
1392 type: object
1393 nullable: true
1394 type: object
1395 conditions:
1396 items:
1397 properties:
1398 lastProbeTime:
1399 description: Last time we probed the condition.
1400 type: string
1401 lastTransitionTime:
1402 description: Last time the condition transitioned from one status
1403 to another.
1404 type: string
1405 message:
1406 description: Human-readable message indicating details about
1407 last transition.
1408 type: string
1409 reason:
1410 description: Unique, one-word, CamelCase reason for the condition's
1411 last transition.
1412 type: string
1413 status:
1414 description: |-
1415 Status is the status of the condition.
1416 Can be True, False, Unknown.
1417 type: string
1418 type:
1419 description: Type is the type of the condition.
1420 type: string
1421 type: object
1422 nullable: true
1423 type: array
1424 currentImage:
1425 type: string
1426 currentReplicaAddressMap:
1427 additionalProperties:
1428 type: string
1429 nullable: true
1430 type: object
1431 currentSize:
1432 format: int64
1433 type: string
1434 currentState:
1435 type: string
1436 endpoint:
1437 type: string
1438 instanceManagerName:
1439 type: string
1440 ip:
1441 type: string
1442 isExpanding:
1443 type: boolean
1444 lastExpansionError:
1445 type: string
1446 lastExpansionFailedAt:
1447 type: string
1448 lastRestoredBackup:
1449 type: string
1450 logFetched:
1451 type: boolean
1452 ownerID:
1453 type: string
1454 port:
1455 type: integer
1456 purgeStatus:
1457 additionalProperties:
1458 properties:
1459 error:
1460 type: string
1461 isPurging:
1462 type: boolean
1463 progress:
1464 type: integer
1465 state:
1466 type: string
1467 type: object
1468 nullable: true
1469 type: object
1470 rebuildStatus:
1471 additionalProperties:
1472 properties:
1473 appliedRebuildingMBps:
1474 format: int64
1475 type: integer
1476 error:
1477 type: string
1478 fromReplicaAddress:
1479 type: string
1480 isRebuilding:
1481 type: boolean
1482 progress:
1483 type: integer
1484 state:
1485 type: string
1486 type: object
1487 nullable: true
1488 type: object
1489 replicaModeMap:
1490 additionalProperties:
1491 type: string
1492 nullable: true
1493 type: object
1494 replicaTransitionTimeMap:
1495 additionalProperties:
1496 type: string
1497 description: |-
1498 ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or
1499 from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers
1500 (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt).
1501 type: object
1502 restoreStatus:
1503 additionalProperties:
1504 properties:
1505 backupURL:
1506 type: string
1507 currentRestoringBackup:
1508 type: string
1509 error:
1510 type: string
1511 filename:
1512 type: string
1513 isRestoring:
1514 type: boolean
1515 lastRestored:
1516 type: string
1517 progress:
1518 type: integer
1519 state:
1520 type: string
1521 type: object
1522 nullable: true
1523 type: object
1524 salvageExecuted:
1525 type: boolean
1526 snapshotMaxCount:
1527 type: integer
1528 snapshotMaxSize:
1529 format: int64
1530 type: string
1531 snapshots:
1532 additionalProperties:
1533 properties:
1534 children:
1535 additionalProperties:
1536 type: boolean
1537 nullable: true
1538 type: object
1539 created:
1540 type: string
1541 labels:
1542 additionalProperties:
1543 type: string
1544 nullable: true
1545 type: object
1546 name:
1547 type: string
1548 parent:
1549 type: string
1550 removed:
1551 type: boolean
1552 size:
1553 type: string
1554 usercreated:
1555 type: boolean
1556 type: object
1557 nullable: true
1558 type: object
1559 snapshotsError:
1560 type: string
1561 started:
1562 type: boolean
1563 starting:
1564 type: boolean
1565 storageIP:
1566 type: string
1567 ublkID:
1568 format: int32
1569 type: integer
1570 unmapMarkSnapChainRemovedEnabled:
1571 type: boolean
1572 uuid:
1573 type: string
1574 type: object
1575 type: object
1576 served: true
1577 storage: true
1578 subresources:
1579 status: {}
1580---
1581apiVersion: apiextensions.k8s.io/v1
1582kind: CustomResourceDefinition
1583metadata:
1584 annotations:
1585 controller-gen.kubebuilder.io/version: v0.17.1
1586 labels: {{- include "longhorn.labels" . | nindent 4 }}
1587 longhorn-manager: ""
1588 name: instancemanagers.longhorn.io
1589spec:
1590 group: longhorn.io
1591 names:
1592 kind: InstanceManager
1593 listKind: InstanceManagerList
1594 plural: instancemanagers
1595 shortNames:
1596 - lhim
1597 singular: instancemanager
1598 scope: Namespaced
1599 versions:
1600 - additionalPrinterColumns:
1601 - description: The data engine of the instance manager
1602 jsonPath: .spec.dataEngine
1603 name: Data Engine
1604 type: string
1605 - description: The state of the instance manager
1606 jsonPath: .status.currentState
1607 name: State
1608 type: string
1609 - description: The type of the instance manager (engine or replica)
1610 jsonPath: .spec.type
1611 name: Type
1612 type: string
1613 - description: The node that the instance manager is running on
1614 jsonPath: .spec.nodeID
1615 name: Node
1616 type: string
1617 - jsonPath: .metadata.creationTimestamp
1618 name: Age
1619 type: date
1620 name: v1beta2
1621 schema:
1622 openAPIV3Schema:
1623 description: InstanceManager is where Longhorn stores instance manager object.
1624 properties:
1625 apiVersion:
1626 description: |-
1627 APIVersion defines the versioned schema of this representation of an object.
1628 Servers should convert recognized schemas to the latest internal value, and
1629 may reject unrecognized values.
1630 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1631 type: string
1632 kind:
1633 description: |-
1634 Kind is a string value representing the REST resource this object represents.
1635 Servers may infer this from the endpoint the client submits requests to.
1636 Cannot be updated.
1637 In CamelCase.
1638 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1639 type: string
1640 metadata:
1641 type: object
1642 spec:
1643 description: InstanceManagerSpec defines the desired state of the Longhorn
1644 instance manager
1645 properties:
1646 dataEngine:
1647 type: string
1648 dataEngineSpec:
1649 properties:
1650 v2:
1651 properties:
1652 cpuMask:
1653 type: string
1654 type: object
1655 type: object
1656 image:
1657 type: string
1658 nodeID:
1659 type: string
1660 type:
1661 enum:
1662 - aio
1663 - engine
1664 - replica
1665 type: string
1666 type: object
1667 status:
1668 description: InstanceManagerStatus defines the observed state of the Longhorn
1669 instance manager
1670 properties:
1671 apiMinVersion:
1672 type: integer
1673 apiVersion:
1674 type: integer
1675 backingImages:
1676 additionalProperties:
1677 properties:
1678 currentChecksum:
1679 type: string
1680 diskUUID:
1681 type: string
1682 message:
1683 type: string
1684 name:
1685 type: string
1686 progress:
1687 type: integer
1688 size:
1689 format: int64
1690 type: integer
1691 state:
1692 type: string
1693 uuid:
1694 type: string
1695 type: object
1696 nullable: true
1697 type: object
1698 currentState:
1699 type: string
1700 dataEngineStatus:
1701 properties:
1702 v2:
1703 properties:
1704 cpuMask:
1705 type: string
1706 interruptModeEnabled:
1707 description: |-
1708 InterruptModeEnabled indicates whether the V2 data engine is running in
1709 interrupt mode (true) or polling mode (false). Set by Longhorn manager;
1710 read-only to users.
1711 enum:
1712 - ""
1713 - "true"
1714 - "false"
1715 type: string
1716 type: object
1717 type: object
1718 instanceEngines:
1719 additionalProperties:
1720 properties:
1721 spec:
1722 properties:
1723 dataEngine:
1724 type: string
1725 name:
1726 type: string
1727 type: object
1728 status:
1729 properties:
1730 conditions:
1731 additionalProperties:
1732 type: boolean
1733 nullable: true
1734 type: object
1735 endpoint:
1736 type: string
1737 errorMsg:
1738 type: string
1739 listen:
1740 type: string
1741 portEnd:
1742 format: int32
1743 type: integer
1744 portStart:
1745 format: int32
1746 type: integer
1747 resourceVersion:
1748 format: int64
1749 type: integer
1750 state:
1751 type: string
1752 targetPortEnd:
1753 format: int32
1754 type: integer
1755 targetPortStart:
1756 format: int32
1757 type: integer
1758 type:
1759 type: string
1760 ublkID:
1761 format: int32
1762 type: integer
1763 uuid:
1764 type: string
1765 type: object
1766 type: object
1767 nullable: true
1768 type: object
1769 instanceReplicas:
1770 additionalProperties:
1771 properties:
1772 spec:
1773 properties:
1774 dataEngine:
1775 type: string
1776 name:
1777 type: string
1778 type: object
1779 status:
1780 properties:
1781 conditions:
1782 additionalProperties:
1783 type: boolean
1784 nullable: true
1785 type: object
1786 endpoint:
1787 type: string
1788 errorMsg:
1789 type: string
1790 listen:
1791 type: string
1792 portEnd:
1793 format: int32
1794 type: integer
1795 portStart:
1796 format: int32
1797 type: integer
1798 resourceVersion:
1799 format: int64
1800 type: integer
1801 state:
1802 type: string
1803 targetPortEnd:
1804 format: int32
1805 type: integer
1806 targetPortStart:
1807 format: int32
1808 type: integer
1809 type:
1810 type: string
1811 ublkID:
1812 format: int32
1813 type: integer
1814 uuid:
1815 type: string
1816 type: object
1817 type: object
1818 nullable: true
1819 type: object
1820 instances:
1821 additionalProperties:
1822 properties:
1823 spec:
1824 properties:
1825 dataEngine:
1826 type: string
1827 name:
1828 type: string
1829 type: object
1830 status:
1831 properties:
1832 conditions:
1833 additionalProperties:
1834 type: boolean
1835 nullable: true
1836 type: object
1837 endpoint:
1838 type: string
1839 errorMsg:
1840 type: string
1841 listen:
1842 type: string
1843 portEnd:
1844 format: int32
1845 type: integer
1846 portStart:
1847 format: int32
1848 type: integer
1849 resourceVersion:
1850 format: int64
1851 type: integer
1852 state:
1853 type: string
1854 targetPortEnd:
1855 format: int32
1856 type: integer
1857 targetPortStart:
1858 format: int32
1859 type: integer
1860 type:
1861 type: string
1862 ublkID:
1863 format: int32
1864 type: integer
1865 uuid:
1866 type: string
1867 type: object
1868 type: object
1869 description: 'Deprecated: Replaced by InstanceEngines and InstanceReplicas'
1870 nullable: true
1871 type: object
1872 ip:
1873 type: string
1874 ownerID:
1875 type: string
1876 proxyApiMinVersion:
1877 type: integer
1878 proxyApiVersion:
1879 type: integer
1880 type: object
1881 type: object
1882 served: true
1883 storage: true
1884 subresources:
1885 status: {}
1886---
1887apiVersion: apiextensions.k8s.io/v1
1888kind: CustomResourceDefinition
1889metadata:
1890 annotations:
1891 controller-gen.kubebuilder.io/version: v0.17.1
1892 labels: {{- include "longhorn.labels" . | nindent 4 }}
1893 longhorn-manager: ""
1894 name: nodes.longhorn.io
1895spec:
1896 group: longhorn.io
1897 names:
1898 kind: Node
1899 listKind: NodeList
1900 plural: nodes
1901 shortNames:
1902 - lhn
1903 singular: node
1904 scope: Namespaced
1905 versions:
1906 - additionalPrinterColumns:
1907 - description: Indicate whether the node is ready
1908 jsonPath: .status.conditions[?(@.type=='Ready')].status
1909 name: Ready
1910 type: string
1911 - description: Indicate whether the user disabled/enabled replica scheduling for
1912 the node
1913 jsonPath: .spec.allowScheduling
1914 name: AllowScheduling
1915 type: boolean
1916 - description: Indicate whether Longhorn can schedule replicas on the node
1917 jsonPath: .status.conditions[?(@.type=='Schedulable')].status
1918 name: Schedulable
1919 type: string
1920 - jsonPath: .metadata.creationTimestamp
1921 name: Age
1922 type: date
1923 name: v1beta2
1924 schema:
1925 openAPIV3Schema:
1926 description: Node is where Longhorn stores Longhorn node object.
1927 properties:
1928 apiVersion:
1929 description: |-
1930 APIVersion defines the versioned schema of this representation of an object.
1931 Servers should convert recognized schemas to the latest internal value, and
1932 may reject unrecognized values.
1933 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1934 type: string
1935 kind:
1936 description: |-
1937 Kind is a string value representing the REST resource this object represents.
1938 Servers may infer this from the endpoint the client submits requests to.
1939 Cannot be updated.
1940 In CamelCase.
1941 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1942 type: string
1943 metadata:
1944 type: object
1945 spec:
1946 description: NodeSpec defines the desired state of the Longhorn node
1947 properties:
1948 allowScheduling:
1949 type: boolean
1950 disks:
1951 additionalProperties:
1952 properties:
1953 allowScheduling:
1954 type: boolean
1955 diskDriver:
1956 enum:
1957 - ""
1958 - auto
1959 - aio
1960 - nvme
1961 type: string
1962 diskType:
1963 enum:
1964 - filesystem
1965 - block
1966 type: string
1967 evictionRequested:
1968 type: boolean
1969 path:
1970 type: string
1971 storageReserved:
1972 format: int64
1973 type: integer
1974 tags:
1975 items:
1976 type: string
1977 type: array
1978 type: object
1979 type: object
1980 evictionRequested:
1981 type: boolean
1982 instanceManagerCPURequest:
1983 type: integer
1984 name:
1985 type: string
1986 tags:
1987 items:
1988 type: string
1989 type: array
1990 type: object
1991 status:
1992 description: NodeStatus defines the observed state of the Longhorn node
1993 properties:
1994 autoEvicting:
1995 type: boolean
1996 conditions:
1997 items:
1998 properties:
1999 lastProbeTime:
2000 description: Last time we probed the condition.
2001 type: string
2002 lastTransitionTime:
2003 description: Last time the condition transitioned from one status
2004 to another.
2005 type: string
2006 message:
2007 description: Human-readable message indicating details about
2008 last transition.
2009 type: string
2010 reason:
2011 description: Unique, one-word, CamelCase reason for the condition's
2012 last transition.
2013 type: string
2014 status:
2015 description: |-
2016 Status is the status of the condition.
2017 Can be True, False, Unknown.
2018 type: string
2019 type:
2020 description: Type is the type of the condition.
2021 type: string
2022 type: object
2023 nullable: true
2024 type: array
2025 diskStatus:
2026 additionalProperties:
2027 properties:
2028 conditions:
2029 items:
2030 properties:
2031 lastProbeTime:
2032 description: Last time we probed the condition.
2033 type: string
2034 lastTransitionTime:
2035 description: Last time the condition transitioned from
2036 one status to another.
2037 type: string
2038 message:
2039 description: Human-readable message indicating details
2040 about last transition.
2041 type: string
2042 reason:
2043 description: Unique, one-word, CamelCase reason for the
2044 condition's last transition.
2045 type: string
2046 status:
2047 description: |-
2048 Status is the status of the condition.
2049 Can be True, False, Unknown.
2050 type: string
2051 type:
2052 description: Type is the type of the condition.
2053 type: string
2054 type: object
2055 nullable: true
2056 type: array
2057 diskDriver:
2058 type: string
2059 diskName:
2060 type: string
2061 diskPath:
2062 type: string
2063 diskType:
2064 type: string
2065 diskUUID:
2066 type: string
2067 filesystemType:
2068 type: string
2069 instanceManagerName:
2070 type: string
2071 scheduledBackingImage:
2072 additionalProperties:
2073 format: int64
2074 type: integer
2075 nullable: true
2076 type: object
2077 scheduledReplica:
2078 additionalProperties:
2079 format: int64
2080 type: integer
2081 nullable: true
2082 type: object
2083 storageAvailable:
2084 format: int64
2085 type: integer
2086 storageMaximum:
2087 format: int64
2088 type: integer
2089 storageScheduled:
2090 format: int64
2091 type: integer
2092 type: object
2093 nullable: true
2094 type: object
2095 region:
2096 type: string
2097 snapshotCheckStatus:
2098 properties:
2099 lastPeriodicCheckedAt:
2100 format: date-time
2101 type: string
2102 type: object
2103 zone:
2104 type: string
2105 type: object
2106 type: object
2107 served: true
2108 storage: true
2109 subresources:
2110 status: {}
2111---
2112apiVersion: apiextensions.k8s.io/v1
2113kind: CustomResourceDefinition
2114metadata:
2115 annotations:
2116 controller-gen.kubebuilder.io/version: v0.17.1
2117 labels: {{- include "longhorn.labels" . | nindent 4 }}
2118 longhorn-manager: ""
2119 name: orphans.longhorn.io
2120spec:
2121 group: longhorn.io
2122 names:
2123 kind: Orphan
2124 listKind: OrphanList
2125 plural: orphans
2126 shortNames:
2127 - lho
2128 singular: orphan
2129 scope: Namespaced
2130 versions:
2131 - additionalPrinterColumns:
2132 - description: The type of the orphan
2133 jsonPath: .spec.orphanType
2134 name: Type
2135 type: string
2136 - description: The node that the orphan is on
2137 jsonPath: .spec.nodeID
2138 name: Node
2139 type: string
2140 name: v1beta2
2141 schema:
2142 openAPIV3Schema:
2143 description: Orphan is where Longhorn stores orphan object.
2144 properties:
2145 apiVersion:
2146 description: |-
2147 APIVersion defines the versioned schema of this representation of an object.
2148 Servers should convert recognized schemas to the latest internal value, and
2149 may reject unrecognized values.
2150 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2151 type: string
2152 kind:
2153 description: |-
2154 Kind is a string value representing the REST resource this object represents.
2155 Servers may infer this from the endpoint the client submits requests to.
2156 Cannot be updated.
2157 In CamelCase.
2158 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2159 type: string
2160 metadata:
2161 type: object
2162 spec:
2163 description: OrphanSpec defines the desired state of the Longhorn orphaned
2164 data
2165 properties:
2166 dataEngine:
2167 description: |-
2168 The type of data engine for instance orphan.
2169 Can be "v1", "v2".
2170 enum:
2171 - v1
2172 - v2
2173 type: string
2174 nodeID:
2175 description: The node ID on which the controller is responsible to
2176 reconcile this orphan CR.
2177 type: string
2178 orphanType:
2179 description: |-
2180 The type of the orphaned data.
2181 Can be "replica".
2182 type: string
2183 parameters:
2184 additionalProperties:
2185 type: string
2186 description: The parameters of the orphaned data
2187 type: object
2188 type: object
2189 status:
2190 description: OrphanStatus defines the observed state of the Longhorn orphaned
2191 data
2192 properties:
2193 conditions:
2194 items:
2195 properties:
2196 lastProbeTime:
2197 description: Last time we probed the condition.
2198 type: string
2199 lastTransitionTime:
2200 description: Last time the condition transitioned from one status
2201 to another.
2202 type: string
2203 message:
2204 description: Human-readable message indicating details about
2205 last transition.
2206 type: string
2207 reason:
2208 description: Unique, one-word, CamelCase reason for the condition's
2209 last transition.
2210 type: string
2211 status:
2212 description: |-
2213 Status is the status of the condition.
2214 Can be True, False, Unknown.
2215 type: string
2216 type:
2217 description: Type is the type of the condition.
2218 type: string
2219 type: object
2220 nullable: true
2221 type: array
2222 ownerID:
2223 type: string
2224 type: object
2225 type: object
2226 served: true
2227 storage: true
2228 subresources:
2229 status: {}
2230---
2231apiVersion: apiextensions.k8s.io/v1
2232kind: CustomResourceDefinition
2233metadata:
2234 annotations:
2235 controller-gen.kubebuilder.io/version: v0.17.1
2236 labels: {{- include "longhorn.labels" . | nindent 4 }}
2237 longhorn-manager: ""
2238 name: recurringjobs.longhorn.io
2239spec:
2240 group: longhorn.io
2241 names:
2242 kind: RecurringJob
2243 listKind: RecurringJobList
2244 plural: recurringjobs
2245 shortNames:
2246 - lhrj
2247 singular: recurringjob
2248 scope: Namespaced
2249 versions:
2250 - additionalPrinterColumns:
2251 - description: Sets groupings to the jobs. When set to "default" group will be
2252 added to the volume label when no other job label exist in volume
2253 jsonPath: .spec.groups
2254 name: Groups
2255 type: string
2256 - description: Should be one of "snapshot", "snapshot-force-create", "snapshot-cleanup",
2257 "snapshot-delete", "backup", "backup-force-create", "filesystem-trim" or "system-backup"
2258 jsonPath: .spec.task
2259 name: Task
2260 type: string
2261 - description: The cron expression represents recurring job scheduling
2262 jsonPath: .spec.cron
2263 name: Cron
2264 type: string
2265 - description: The number of snapshots/backups to keep for the volume
2266 jsonPath: .spec.retain
2267 name: Retain
2268 type: integer
2269 - description: The concurrent job to run by each cron job
2270 jsonPath: .spec.concurrency
2271 name: Concurrency
2272 type: integer
2273 - jsonPath: .metadata.creationTimestamp
2274 name: Age
2275 type: date
2276 - description: Specify the labels
2277 jsonPath: .spec.labels
2278 name: Labels
2279 type: string
2280 name: v1beta2
2281 schema:
2282 openAPIV3Schema:
2283 description: RecurringJob is where Longhorn stores recurring job object.
2284 properties:
2285 apiVersion:
2286 description: |-
2287 APIVersion defines the versioned schema of this representation of an object.
2288 Servers should convert recognized schemas to the latest internal value, and
2289 may reject unrecognized values.
2290 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2291 type: string
2292 kind:
2293 description: |-
2294 Kind is a string value representing the REST resource this object represents.
2295 Servers may infer this from the endpoint the client submits requests to.
2296 Cannot be updated.
2297 In CamelCase.
2298 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2299 type: string
2300 metadata:
2301 type: object
2302 spec:
2303 description: RecurringJobSpec defines the desired state of the Longhorn
2304 recurring job
2305 properties:
2306 concurrency:
2307 description: The concurrency of taking the snapshot/backup.
2308 type: integer
2309 cron:
2310 description: The cron setting.
2311 type: string
2312 groups:
2313 description: The recurring job group.
2314 items:
2315 type: string
2316 type: array
2317 labels:
2318 additionalProperties:
2319 type: string
2320 description: The label of the snapshot/backup.
2321 type: object
2322 name:
2323 description: The recurring job name.
2324 type: string
2325 parameters:
2326 additionalProperties:
2327 type: string
2328 description: |-
2329 The parameters of the snapshot/backup.
2330 Support parameters: "full-backup-interval", "volume-backup-policy".
2331 type: object
2332 retain:
2333 description: The retain count of the snapshot/backup.
2334 type: integer
2335 task:
2336 description: |-
2337 The recurring job task.
2338 Can be "snapshot", "snapshot-force-create", "snapshot-cleanup", "snapshot-delete", "backup", "backup-force-create", "filesystem-trim" or "system-backup".
2339 enum:
2340 - snapshot
2341 - snapshot-force-create
2342 - snapshot-cleanup
2343 - snapshot-delete
2344 - backup
2345 - backup-force-create
2346 - filesystem-trim
2347 - system-backup
2348 type: string
2349 type: object
2350 status:
2351 description: RecurringJobStatus defines the observed state of the Longhorn
2352 recurring job
2353 properties:
2354 executionCount:
2355 description: The number of jobs that have been triggered.
2356 type: integer
2357 ownerID:
2358 description: The owner ID which is responsible to reconcile this recurring
2359 job CR.
2360 type: string
2361 type: object
2362 type: object
2363 served: true
2364 storage: true
2365 subresources:
2366 status: {}
2367---
2368apiVersion: apiextensions.k8s.io/v1
2369kind: CustomResourceDefinition
2370metadata:
2371 annotations:
2372 controller-gen.kubebuilder.io/version: v0.17.1
2373 labels: {{- include "longhorn.labels" . | nindent 4 }}
2374 longhorn-manager: ""
2375 name: replicas.longhorn.io
2376spec:
2377 group: longhorn.io
2378 names:
2379 kind: Replica
2380 listKind: ReplicaList
2381 plural: replicas
2382 shortNames:
2383 - lhr
2384 singular: replica
2385 scope: Namespaced
2386 versions:
2387 - additionalPrinterColumns:
2388 - description: The data engine of the replica
2389 jsonPath: .spec.dataEngine
2390 name: Data Engine
2391 type: string
2392 - description: The current state of the replica
2393 jsonPath: .status.currentState
2394 name: State
2395 type: string
2396 - description: The node that the replica is on
2397 jsonPath: .spec.nodeID
2398 name: Node
2399 type: string
2400 - description: The disk that the replica is on
2401 jsonPath: .spec.diskID
2402 name: Disk
2403 type: string
2404 - description: The instance manager of the replica
2405 jsonPath: .status.instanceManagerName
2406 name: InstanceManager
2407 type: string
2408 - description: The current image of the replica
2409 jsonPath: .status.currentImage
2410 name: Image
2411 type: string
2412 - jsonPath: .metadata.creationTimestamp
2413 name: Age
2414 type: date
2415 name: v1beta2
2416 schema:
2417 openAPIV3Schema:
2418 description: Replica is where Longhorn stores replica object.
2419 properties:
2420 apiVersion:
2421 description: |-
2422 APIVersion defines the versioned schema of this representation of an object.
2423 Servers should convert recognized schemas to the latest internal value, and
2424 may reject unrecognized values.
2425 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2426 type: string
2427 kind:
2428 description: |-
2429 Kind is a string value representing the REST resource this object represents.
2430 Servers may infer this from the endpoint the client submits requests to.
2431 Cannot be updated.
2432 In CamelCase.
2433 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2434 type: string
2435 metadata:
2436 type: object
2437 spec:
2438 description: ReplicaSpec defines the desired state of the Longhorn replica
2439 properties:
2440 active:
2441 type: boolean
2442 backingImage:
2443 type: string
2444 dataDirectoryName:
2445 type: string
2446 dataEngine:
2447 enum:
2448 - v1
2449 - v2
2450 type: string
2451 desireState:
2452 type: string
2453 diskID:
2454 type: string
2455 diskPath:
2456 type: string
2457 engineName:
2458 type: string
2459 evictionRequested:
2460 type: boolean
2461 failedAt:
2462 description: |-
2463 FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason.
2464 FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful
2465 (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can
2466 be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may
2467 be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume
2468 controller acknowledges the change.
2469 type: string
2470 hardNodeAffinity:
2471 type: string
2472 healthyAt:
2473 description: |-
2474 HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt
2475 indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have
2476 useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the
2477 corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller
2478 acknowledges the change.
2479 type: string
2480 image:
2481 type: string
2482 lastFailedAt:
2483 description: |-
2484 LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared.
2485 LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with
2486 LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to
2487 LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the
2488 corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller
2489 acknowledges the change.
2490 type: string
2491 lastHealthyAt:
2492 description: |-
2493 LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is
2494 never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a
2495 replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be
2496 compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be
2497 later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume
2498 controller acknowledges the change.
2499 type: string
2500 logRequested:
2501 type: boolean
2502 migrationEngineName:
2503 description: |-
2504 MigrationEngineName is indicating the migrating engine which current connected to this replica. This is only
2505 used for live migration of v2 data engine
2506 type: string
2507 nodeID:
2508 type: string
2509 rebuildRetryCount:
2510 type: integer
2511 revisionCounterDisabled:
2512 type: boolean
2513 salvageRequested:
2514 type: boolean
2515 snapshotMaxCount:
2516 type: integer
2517 snapshotMaxSize:
2518 format: int64
2519 type: string
2520 unmapMarkDiskChainRemovedEnabled:
2521 type: boolean
2522 volumeName:
2523 type: string
2524 volumeSize:
2525 format: int64
2526 type: string
2527 type: object
2528 status:
2529 description: ReplicaStatus defines the observed state of the Longhorn
2530 replica
2531 properties:
2532 conditions:
2533 items:
2534 properties:
2535 lastProbeTime:
2536 description: Last time we probed the condition.
2537 type: string
2538 lastTransitionTime:
2539 description: Last time the condition transitioned from one status
2540 to another.
2541 type: string
2542 message:
2543 description: Human-readable message indicating details about
2544 last transition.
2545 type: string
2546 reason:
2547 description: Unique, one-word, CamelCase reason for the condition's
2548 last transition.
2549 type: string
2550 status:
2551 description: |-
2552 Status is the status of the condition.
2553 Can be True, False, Unknown.
2554 type: string
2555 type:
2556 description: Type is the type of the condition.
2557 type: string
2558 type: object
2559 nullable: true
2560 type: array
2561 currentImage:
2562 type: string
2563 currentState:
2564 type: string
2565 instanceManagerName:
2566 type: string
2567 ip:
2568 type: string
2569 logFetched:
2570 type: boolean
2571 ownerID:
2572 type: string
2573 port:
2574 type: integer
2575 salvageExecuted:
2576 type: boolean
2577 started:
2578 type: boolean
2579 starting:
2580 type: boolean
2581 storageIP:
2582 type: string
2583 ublkID:
2584 format: int32
2585 type: integer
2586 uuid:
2587 type: string
2588 type: object
2589 type: object
2590 served: true
2591 storage: true
2592 subresources:
2593 status: {}
2594---
2595apiVersion: apiextensions.k8s.io/v1
2596kind: CustomResourceDefinition
2597metadata:
2598 annotations:
2599 controller-gen.kubebuilder.io/version: v0.17.1
2600 labels: {{- include "longhorn.labels" . | nindent 4 }}
2601 longhorn-manager: ""
2602 name: settings.longhorn.io
2603spec:
2604 group: longhorn.io
2605 names:
2606 kind: Setting
2607 listKind: SettingList
2608 plural: settings
2609 shortNames:
2610 - lhs
2611 singular: setting
2612 scope: Namespaced
2613 versions:
2614 - additionalPrinterColumns:
2615 - description: The value of the setting
2616 jsonPath: .value
2617 name: Value
2618 type: string
2619 - description: The setting is applied
2620 jsonPath: .status.applied
2621 name: Applied
2622 type: boolean
2623 - jsonPath: .metadata.creationTimestamp
2624 name: Age
2625 type: date
2626 name: v1beta2
2627 schema:
2628 openAPIV3Schema:
2629 description: Setting is where Longhorn stores setting object.
2630 properties:
2631 apiVersion:
2632 description: |-
2633 APIVersion defines the versioned schema of this representation of an object.
2634 Servers should convert recognized schemas to the latest internal value, and
2635 may reject unrecognized values.
2636 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2637 type: string
2638 kind:
2639 description: |-
2640 Kind is a string value representing the REST resource this object represents.
2641 Servers may infer this from the endpoint the client submits requests to.
2642 Cannot be updated.
2643 In CamelCase.
2644 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2645 type: string
2646 metadata:
2647 type: object
2648 status:
2649 description: The status of the setting.
2650 properties:
2651 applied:
2652 description: The setting is applied.
2653 type: boolean
2654 required:
2655 - applied
2656 type: object
2657 value:
2658 description: |-
2659 The value of the setting.
2660 - It can be a non-JSON formatted string that is applied to all the applicable data engines listed in the setting definition.
2661 - It can be a JSON formatted string that contains values for applicable data engines listed in the setting definition's Default.
2662 type: string
2663 required:
2664 - value
2665 type: object
2666 served: true
2667 storage: true
2668 subresources:
2669 status: {}
2670---
2671apiVersion: apiextensions.k8s.io/v1
2672kind: CustomResourceDefinition
2673metadata:
2674 annotations:
2675 controller-gen.kubebuilder.io/version: v0.17.1
2676 labels: {{- include "longhorn.labels" . | nindent 4 }}
2677 longhorn-manager: ""
2678 name: sharemanagers.longhorn.io
2679spec:
2680 group: longhorn.io
2681 names:
2682 kind: ShareManager
2683 listKind: ShareManagerList
2684 plural: sharemanagers
2685 shortNames:
2686 - lhsm
2687 singular: sharemanager
2688 scope: Namespaced
2689 versions:
2690 - additionalPrinterColumns:
2691 - description: The state of the share manager
2692 jsonPath: .status.state
2693 name: State
2694 type: string
2695 - description: The node that the share manager is owned by
2696 jsonPath: .status.ownerID
2697 name: Node
2698 type: string
2699 - jsonPath: .metadata.creationTimestamp
2700 name: Age
2701 type: date
2702 name: v1beta2
2703 schema:
2704 openAPIV3Schema:
2705 description: ShareManager is where Longhorn stores share manager object.
2706 properties:
2707 apiVersion:
2708 description: |-
2709 APIVersion defines the versioned schema of this representation of an object.
2710 Servers should convert recognized schemas to the latest internal value, and
2711 may reject unrecognized values.
2712 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2713 type: string
2714 kind:
2715 description: |-
2716 Kind is a string value representing the REST resource this object represents.
2717 Servers may infer this from the endpoint the client submits requests to.
2718 Cannot be updated.
2719 In CamelCase.
2720 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2721 type: string
2722 metadata:
2723 type: object
2724 spec:
2725 description: ShareManagerSpec defines the desired state of the Longhorn
2726 share manager
2727 properties:
2728 image:
2729 description: Share manager image used for creating a share manager
2730 pod
2731 type: string
2732 type: object
2733 status:
2734 description: ShareManagerStatus defines the observed state of the Longhorn
2735 share manager
2736 properties:
2737 endpoint:
2738 description: NFS endpoint that can access the mounted filesystem of
2739 the volume
2740 type: string
2741 ownerID:
2742 description: The node ID on which the controller is responsible to
2743 reconcile this share manager resource
2744 type: string
2745 state:
2746 description: The state of the share manager resource
2747 type: string
2748 type: object
2749 type: object
2750 served: true
2751 storage: true
2752 subresources:
2753 status: {}
2754---
2755apiVersion: apiextensions.k8s.io/v1
2756kind: CustomResourceDefinition
2757metadata:
2758 annotations:
2759 controller-gen.kubebuilder.io/version: v0.17.1
2760 labels: {{- include "longhorn.labels" . | nindent 4 }}
2761 longhorn-manager: ""
2762 name: snapshots.longhorn.io
2763spec:
2764 group: longhorn.io
2765 names:
2766 kind: Snapshot
2767 listKind: SnapshotList
2768 plural: snapshots
2769 shortNames:
2770 - lhsnap
2771 singular: snapshot
2772 scope: Namespaced
2773 versions:
2774 - additionalPrinterColumns:
2775 - description: The volume that this snapshot belongs to
2776 jsonPath: .spec.volume
2777 name: Volume
2778 type: string
2779 - description: Timestamp when the point-in-time snapshot was taken
2780 jsonPath: .status.creationTime
2781 name: CreationTime
2782 type: string
2783 - description: Indicates if the snapshot is ready to be used to restore/backup
2784 a volume
2785 jsonPath: .status.readyToUse
2786 name: ReadyToUse
2787 type: boolean
2788 - description: Represents the minimum size of volume required to rehydrate from
2789 this snapshot
2790 jsonPath: .status.restoreSize
2791 name: RestoreSize
2792 type: string
2793 - description: The actual size of the snapshot
2794 jsonPath: .status.size
2795 name: Size
2796 type: string
2797 - jsonPath: .metadata.creationTimestamp
2798 name: Age
2799 type: date
2800 name: v1beta2
2801 schema:
2802 openAPIV3Schema:
2803 description: Snapshot is the Schema for the snapshots API
2804 properties:
2805 apiVersion:
2806 description: |-
2807 APIVersion defines the versioned schema of this representation of an object.
2808 Servers should convert recognized schemas to the latest internal value, and
2809 may reject unrecognized values.
2810 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2811 type: string
2812 kind:
2813 description: |-
2814 Kind is a string value representing the REST resource this object represents.
2815 Servers may infer this from the endpoint the client submits requests to.
2816 Cannot be updated.
2817 In CamelCase.
2818 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2819 type: string
2820 metadata:
2821 type: object
2822 spec:
2823 description: SnapshotSpec defines the desired state of Longhorn Snapshot
2824 properties:
2825 createSnapshot:
2826 description: require creating a new snapshot
2827 type: boolean
2828 labels:
2829 additionalProperties:
2830 type: string
2831 description: The labels of snapshot
2832 nullable: true
2833 type: object
2834 volume:
2835 description: |-
2836 the volume that this snapshot belongs to.
2837 This field is immutable after creation.
2838 type: string
2839 required:
2840 - volume
2841 type: object
2842 status:
2843 description: SnapshotStatus defines the observed state of Longhorn Snapshot
2844 properties:
2845 checksum:
2846 type: string
2847 children:
2848 additionalProperties:
2849 type: boolean
2850 nullable: true
2851 type: object
2852 creationTime:
2853 type: string
2854 error:
2855 type: string
2856 labels:
2857 additionalProperties:
2858 type: string
2859 nullable: true
2860 type: object
2861 markRemoved:
2862 type: boolean
2863 ownerID:
2864 type: string
2865 parent:
2866 type: string
2867 readyToUse:
2868 type: boolean
2869 restoreSize:
2870 format: int64
2871 type: integer
2872 size:
2873 format: int64
2874 type: integer
2875 userCreated:
2876 type: boolean
2877 type: object
2878 type: object
2879 served: true
2880 storage: true
2881 subresources:
2882 status: {}
2883---
2884apiVersion: apiextensions.k8s.io/v1
2885kind: CustomResourceDefinition
2886metadata:
2887 annotations:
2888 controller-gen.kubebuilder.io/version: v0.17.1
2889 labels: {{- include "longhorn.labels" . | nindent 4 }}
2890 longhorn-manager: ""
2891 name: supportbundles.longhorn.io
2892spec:
2893 group: longhorn.io
2894 names:
2895 kind: SupportBundle
2896 listKind: SupportBundleList
2897 plural: supportbundles
2898 shortNames:
2899 - lhbundle
2900 singular: supportbundle
2901 scope: Namespaced
2902 versions:
2903 - additionalPrinterColumns:
2904 - description: The state of the support bundle
2905 jsonPath: .status.state
2906 name: State
2907 type: string
2908 - description: The issue URL
2909 jsonPath: .spec.issueURL
2910 name: Issue
2911 type: string
2912 - description: A brief description of the issue
2913 jsonPath: .spec.description
2914 name: Description
2915 type: string
2916 - jsonPath: .metadata.creationTimestamp
2917 name: Age
2918 type: date
2919 name: v1beta2
2920 schema:
2921 openAPIV3Schema:
2922 description: SupportBundle is where Longhorn stores support bundle object
2923 properties:
2924 apiVersion:
2925 description: |-
2926 APIVersion defines the versioned schema of this representation of an object.
2927 Servers should convert recognized schemas to the latest internal value, and
2928 may reject unrecognized values.
2929 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2930 type: string
2931 kind:
2932 description: |-
2933 Kind is a string value representing the REST resource this object represents.
2934 Servers may infer this from the endpoint the client submits requests to.
2935 Cannot be updated.
2936 In CamelCase.
2937 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2938 type: string
2939 metadata:
2940 type: object
2941 spec:
2942 description: SupportBundleSpec defines the desired state of the Longhorn
2943 SupportBundle
2944 properties:
2945 description:
2946 description: A brief description of the issue
2947 type: string
2948 issueURL:
2949 description: The issue URL
2950 nullable: true
2951 type: string
2952 nodeID:
2953 description: The preferred responsible controller node ID.
2954 type: string
2955 required:
2956 - description
2957 type: object
2958 status:
2959 description: SupportBundleStatus defines the observed state of the Longhorn
2960 SupportBundle
2961 properties:
2962 conditions:
2963 items:
2964 properties:
2965 lastProbeTime:
2966 description: Last time we probed the condition.
2967 type: string
2968 lastTransitionTime:
2969 description: Last time the condition transitioned from one status
2970 to another.
2971 type: string
2972 message:
2973 description: Human-readable message indicating details about
2974 last transition.
2975 type: string
2976 reason:
2977 description: Unique, one-word, CamelCase reason for the condition's
2978 last transition.
2979 type: string
2980 status:
2981 description: |-
2982 Status is the status of the condition.
2983 Can be True, False, Unknown.
2984 type: string
2985 type:
2986 description: Type is the type of the condition.
2987 type: string
2988 type: object
2989 type: array
2990 filename:
2991 type: string
2992 filesize:
2993 format: int64
2994 type: integer
2995 image:
2996 description: The support bundle manager image
2997 type: string
2998 managerIP:
2999 description: The support bundle manager IP
3000 type: string
3001 ownerID:
3002 description: The current responsible controller node ID
3003 type: string
3004 progress:
3005 type: integer
3006 state:
3007 type: string
3008 type: object
3009 type: object
3010 served: true
3011 storage: true
3012 subresources:
3013 status: {}
3014---
3015apiVersion: apiextensions.k8s.io/v1
3016kind: CustomResourceDefinition
3017metadata:
3018 annotations:
3019 controller-gen.kubebuilder.io/version: v0.17.1
3020 labels: {{- include "longhorn.labels" . | nindent 4 }}
3021 longhorn-manager: ""
3022 name: systembackups.longhorn.io
3023spec:
3024 group: longhorn.io
3025 names:
3026 kind: SystemBackup
3027 listKind: SystemBackupList
3028 plural: systembackups
3029 shortNames:
3030 - lhsb
3031 singular: systembackup
3032 scope: Namespaced
3033 versions:
3034 - additionalPrinterColumns:
3035 - description: The system backup Longhorn version
3036 jsonPath: .status.version
3037 name: Version
3038 type: string
3039 - description: The system backup state
3040 jsonPath: .status.state
3041 name: State
3042 type: string
3043 - description: The system backup creation time
3044 jsonPath: .status.createdAt
3045 name: Created
3046 type: string
3047 - description: The last time that the system backup was synced into the cluster
3048 jsonPath: .status.lastSyncedAt
3049 name: LastSyncedAt
3050 type: string
3051 name: v1beta2
3052 schema:
3053 openAPIV3Schema:
3054 description: SystemBackup is where Longhorn stores system backup object
3055 properties:
3056 apiVersion:
3057 description: |-
3058 APIVersion defines the versioned schema of this representation of an object.
3059 Servers should convert recognized schemas to the latest internal value, and
3060 may reject unrecognized values.
3061 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3062 type: string
3063 kind:
3064 description: |-
3065 Kind is a string value representing the REST resource this object represents.
3066 Servers may infer this from the endpoint the client submits requests to.
3067 Cannot be updated.
3068 In CamelCase.
3069 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3070 type: string
3071 metadata:
3072 type: object
3073 spec:
3074 description: SystemBackupSpec defines the desired state of the Longhorn
3075 SystemBackup
3076 properties:
3077 volumeBackupPolicy:
3078 description: |-
3079 The create volume backup policy
3080 Can be "if-not-present", "always" or "disabled"
3081 nullable: true
3082 type: string
3083 type: object
3084 status:
3085 description: SystemBackupStatus defines the observed state of the Longhorn
3086 SystemBackup
3087 properties:
3088 conditions:
3089 items:
3090 properties:
3091 lastProbeTime:
3092 description: Last time we probed the condition.
3093 type: string
3094 lastTransitionTime:
3095 description: Last time the condition transitioned from one status
3096 to another.
3097 type: string
3098 message:
3099 description: Human-readable message indicating details about
3100 last transition.
3101 type: string
3102 reason:
3103 description: Unique, one-word, CamelCase reason for the condition's
3104 last transition.
3105 type: string
3106 status:
3107 description: |-
3108 Status is the status of the condition.
3109 Can be True, False, Unknown.
3110 type: string
3111 type:
3112 description: Type is the type of the condition.
3113 type: string
3114 type: object
3115 nullable: true
3116 type: array
3117 createdAt:
3118 description: The system backup creation time.
3119 format: date-time
3120 type: string
3121 gitCommit:
3122 description: The saved Longhorn manager git commit.
3123 nullable: true
3124 type: string
3125 lastSyncedAt:
3126 description: The last time that the system backup was synced into
3127 the cluster.
3128 format: date-time
3129 nullable: true
3130 type: string
3131 managerImage:
3132 description: The saved manager image.
3133 type: string
3134 ownerID:
3135 description: The node ID of the responsible controller to reconcile
3136 this SystemBackup.
3137 type: string
3138 state:
3139 description: The system backup state.
3140 type: string
3141 version:
3142 description: The saved Longhorn version.
3143 nullable: true
3144 type: string
3145 type: object
3146 type: object
3147 served: true
3148 storage: true
3149 subresources:
3150 status: {}
3151---
3152apiVersion: apiextensions.k8s.io/v1
3153kind: CustomResourceDefinition
3154metadata:
3155 annotations:
3156 controller-gen.kubebuilder.io/version: v0.17.1
3157 labels: {{- include "longhorn.labels" . | nindent 4 }}
3158 longhorn-manager: ""
3159 name: systemrestores.longhorn.io
3160spec:
3161 group: longhorn.io
3162 names:
3163 kind: SystemRestore
3164 listKind: SystemRestoreList
3165 plural: systemrestores
3166 shortNames:
3167 - lhsr
3168 singular: systemrestore
3169 scope: Namespaced
3170 versions:
3171 - additionalPrinterColumns:
3172 - description: The system restore state
3173 jsonPath: .status.state
3174 name: State
3175 type: string
3176 - jsonPath: .metadata.creationTimestamp
3177 name: Age
3178 type: date
3179 name: v1beta2
3180 schema:
3181 openAPIV3Schema:
3182 description: SystemRestore is where Longhorn stores system restore object
3183 properties:
3184 apiVersion:
3185 description: |-
3186 APIVersion defines the versioned schema of this representation of an object.
3187 Servers should convert recognized schemas to the latest internal value, and
3188 may reject unrecognized values.
3189 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3190 type: string
3191 kind:
3192 description: |-
3193 Kind is a string value representing the REST resource this object represents.
3194 Servers may infer this from the endpoint the client submits requests to.
3195 Cannot be updated.
3196 In CamelCase.
3197 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3198 type: string
3199 metadata:
3200 type: object
3201 spec:
3202 description: SystemRestoreSpec defines the desired state of the Longhorn
3203 SystemRestore
3204 properties:
3205 systemBackup:
3206 description: The system backup name in the object store.
3207 type: string
3208 required:
3209 - systemBackup
3210 type: object
3211 status:
3212 description: SystemRestoreStatus defines the observed state of the Longhorn
3213 SystemRestore
3214 properties:
3215 conditions:
3216 items:
3217 properties:
3218 lastProbeTime:
3219 description: Last time we probed the condition.
3220 type: string
3221 lastTransitionTime:
3222 description: Last time the condition transitioned from one status
3223 to another.
3224 type: string
3225 message:
3226 description: Human-readable message indicating details about
3227 last transition.
3228 type: string
3229 reason:
3230 description: Unique, one-word, CamelCase reason for the condition's
3231 last transition.
3232 type: string
3233 status:
3234 description: |-
3235 Status is the status of the condition.
3236 Can be True, False, Unknown.
3237 type: string
3238 type:
3239 description: Type is the type of the condition.
3240 type: string
3241 type: object
3242 nullable: true
3243 type: array
3244 ownerID:
3245 description: The node ID of the responsible controller to reconcile
3246 this SystemRestore.
3247 type: string
3248 sourceURL:
3249 description: The source system backup URL.
3250 type: string
3251 state:
3252 description: The system restore state.
3253 type: string
3254 type: object
3255 type: object
3256 served: true
3257 storage: true
3258 subresources:
3259 status: {}
3260---
3261apiVersion: apiextensions.k8s.io/v1
3262kind: CustomResourceDefinition
3263metadata:
3264 annotations:
3265 controller-gen.kubebuilder.io/version: v0.17.1
3266 labels: {{- include "longhorn.labels" . | nindent 4 }}
3267 longhorn-manager: ""
3268 name: volumeattachments.longhorn.io
3269spec:
3270 group: longhorn.io
3271 names:
3272 kind: VolumeAttachment
3273 listKind: VolumeAttachmentList
3274 plural: volumeattachments
3275 shortNames:
3276 - lhva
3277 singular: volumeattachment
3278 scope: Namespaced
3279 versions:
3280 - additionalPrinterColumns:
3281 - jsonPath: .metadata.creationTimestamp
3282 name: Age
3283 type: date
3284 name: v1beta2
3285 schema:
3286 openAPIV3Schema:
3287 description: VolumeAttachment stores attachment information of a Longhorn
3288 volume
3289 properties:
3290 apiVersion:
3291 description: |-
3292 APIVersion defines the versioned schema of this representation of an object.
3293 Servers should convert recognized schemas to the latest internal value, and
3294 may reject unrecognized values.
3295 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3296 type: string
3297 kind:
3298 description: |-
3299 Kind is a string value representing the REST resource this object represents.
3300 Servers may infer this from the endpoint the client submits requests to.
3301 Cannot be updated.
3302 In CamelCase.
3303 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3304 type: string
3305 metadata:
3306 type: object
3307 spec:
3308 description: VolumeAttachmentSpec defines the desired state of Longhorn
3309 VolumeAttachment
3310 properties:
3311 attachmentTickets:
3312 additionalProperties:
3313 properties:
3314 generation:
3315 description: |-
3316 A sequence number representing a specific generation of the desired state.
3317 Populated by the system. Read-only.
3318 format: int64
3319 type: integer
3320 id:
3321 description: The unique ID of this attachment. Used to differentiate
3322 different attachments of the same volume.
3323 type: string
3324 nodeID:
3325 description: The node that this attachment is requesting
3326 type: string
3327 parameters:
3328 additionalProperties:
3329 type: string
3330 description: Optional additional parameter for this attachment
3331 type: object
3332 type:
3333 type: string
3334 type: object
3335 type: object
3336 volume:
3337 description: The name of Longhorn volume of this VolumeAttachment
3338 type: string
3339 required:
3340 - volume
3341 type: object
3342 status:
3343 description: VolumeAttachmentStatus defines the observed state of Longhorn
3344 VolumeAttachment
3345 properties:
3346 attachmentTicketStatuses:
3347 additionalProperties:
3348 properties:
3349 conditions:
3350 description: Record any error when trying to fulfill this attachment
3351 items:
3352 properties:
3353 lastProbeTime:
3354 description: Last time we probed the condition.
3355 type: string
3356 lastTransitionTime:
3357 description: Last time the condition transitioned from
3358 one status to another.
3359 type: string
3360 message:
3361 description: Human-readable message indicating details
3362 about last transition.
3363 type: string
3364 reason:
3365 description: Unique, one-word, CamelCase reason for the
3366 condition's last transition.
3367 type: string
3368 status:
3369 description: |-
3370 Status is the status of the condition.
3371 Can be True, False, Unknown.
3372 type: string
3373 type:
3374 description: Type is the type of the condition.
3375 type: string
3376 type: object
3377 nullable: true
3378 type: array
3379 generation:
3380 description: |-
3381 A sequence number representing a specific generation of the desired state.
3382 Populated by the system. Read-only.
3383 format: int64
3384 type: integer
3385 id:
3386 description: The unique ID of this attachment. Used to differentiate
3387 different attachments of the same volume.
3388 type: string
3389 satisfied:
3390 description: Indicate whether this attachment ticket has been
3391 satisfied
3392 type: boolean
3393 required:
3394 - conditions
3395 - satisfied
3396 type: object
3397 type: object
3398 type: object
3399 type: object
3400 served: true
3401 storage: true
3402 subresources:
3403 status: {}
3404---
3405apiVersion: apiextensions.k8s.io/v1
3406kind: CustomResourceDefinition
3407metadata:
3408 annotations:
3409 controller-gen.kubebuilder.io/version: v0.17.1
3410 labels: {{- include "longhorn.labels" . | nindent 4 }}
3411 longhorn-manager: ""
3412 name: volumes.longhorn.io
3413spec:
3414 group: longhorn.io
3415 names:
3416 kind: Volume
3417 listKind: VolumeList
3418 plural: volumes
3419 shortNames:
3420 - lhv
3421 singular: volume
3422 scope: Namespaced
3423 versions:
3424 - additionalPrinterColumns:
3425 - description: The data engine of the volume
3426 jsonPath: .spec.dataEngine
3427 name: Data Engine
3428 type: string
3429 - description: The state of the volume
3430 jsonPath: .status.state
3431 name: State
3432 type: string
3433 - description: The robustness of the volume
3434 jsonPath: .status.robustness
3435 name: Robustness
3436 type: string
3437 - description: The scheduled condition of the volume
3438 jsonPath: .status.conditions[?(@.type=='Schedulable')].status
3439 name: Scheduled
3440 type: string
3441 - description: The size of the volume
3442 jsonPath: .spec.size
3443 name: Size
3444 type: string
3445 - description: The node that the volume is currently attaching to
3446 jsonPath: .status.currentNodeID
3447 name: Node
3448 type: string
3449 - jsonPath: .metadata.creationTimestamp
3450 name: Age
3451 type: date
3452 name: v1beta2
3453 schema:
3454 openAPIV3Schema:
3455 description: Volume is where Longhorn stores volume object.
3456 properties:
3457 apiVersion:
3458 description: |-
3459 APIVersion defines the versioned schema of this representation of an object.
3460 Servers should convert recognized schemas to the latest internal value, and
3461 may reject unrecognized values.
3462 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3463 type: string
3464 kind:
3465 description: |-
3466 Kind is a string value representing the REST resource this object represents.
3467 Servers may infer this from the endpoint the client submits requests to.
3468 Cannot be updated.
3469 In CamelCase.
3470 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3471 type: string
3472 metadata:
3473 type: object
3474 spec:
3475 description: VolumeSpec defines the desired state of the Longhorn volume
3476 properties:
3477 Standby:
3478 type: boolean
3479 accessMode:
3480 enum:
3481 - rwo
3482 - rwx
3483 type: string
3484 backingImage:
3485 type: string
3486 backupBlockSize:
3487 description: BackupBlockSize indicate the block size to create backups.
3488 The block size is immutable.
3489 enum:
3490 - "2097152"
3491 - "16777216"
3492 format: int64
3493 type: string
3494 backupCompressionMethod:
3495 enum:
3496 - none
3497 - lz4
3498 - gzip
3499 type: string
3500 backupTargetName:
3501 description: The backup target name that the volume will be backed
3502 up to or is synced.
3503 type: string
3504 cloneMode:
3505 enum:
3506 - ""
3507 - full-copy
3508 - linked-clone
3509 type: string
3510 dataEngine:
3511 enum:
3512 - v1
3513 - v2
3514 type: string
3515 dataLocality:
3516 enum:
3517 - disabled
3518 - best-effort
3519 - strict-local
3520 type: string
3521 dataSource:
3522 type: string
3523 disableFrontend:
3524 type: boolean
3525 diskSelector:
3526 items:
3527 type: string
3528 type: array
3529 encrypted:
3530 type: boolean
3531 freezeFilesystemForSnapshot:
3532 description: Setting that freezes the filesystem on the root partition
3533 before a snapshot is created.
3534 enum:
3535 - ignored
3536 - enabled
3537 - disabled
3538 type: string
3539 fromBackup:
3540 type: string
3541 frontend:
3542 enum:
3543 - blockdev
3544 - iscsi
3545 - nvmf
3546 - ublk
3547 - ""
3548 type: string
3549 image:
3550 type: string
3551 lastAttachedBy:
3552 type: string
3553 migratable:
3554 type: boolean
3555 migrationNodeID:
3556 type: string
3557 nodeID:
3558 type: string
3559 nodeSelector:
3560 items:
3561 type: string
3562 type: array
3563 numberOfReplicas:
3564 type: integer
3565 offlineRebuilding:
3566 description: |-
3567 Specifies whether Longhorn should rebuild replicas while the detached volume is degraded.
3568 - ignored: Use the global setting for offline replica rebuilding.
3569 - enabled: Enable offline rebuilding for this volume, regardless of the global setting.
3570 - disabled: Disable offline rebuilding for this volume, regardless of the global setting
3571 enum:
3572 - ignored
3573 - disabled
3574 - enabled
3575 type: string
3576 replicaAutoBalance:
3577 enum:
3578 - ignored
3579 - disabled
3580 - least-effort
3581 - best-effort
3582 type: string
3583 replicaDiskSoftAntiAffinity:
3584 description: Replica disk soft anti affinity of the volume. Set enabled
3585 to allow replicas to be scheduled in the same disk.
3586 enum:
3587 - ignored
3588 - enabled
3589 - disabled
3590 type: string
3591 replicaRebuildingBandwidthLimit:
3592 description: ReplicaRebuildingBandwidthLimit controls the maximum
3593 write bandwidth (in megabytes per second) allowed on the destination
3594 replica during the rebuilding process. Set this value to 0 to disable
3595 bandwidth limiting.
3596 format: int64
3597 minimum: 0
3598 type: integer
3599 replicaSoftAntiAffinity:
3600 description: Replica soft anti affinity of the volume. Set enabled
3601 to allow replicas to be scheduled on the same node.
3602 enum:
3603 - ignored
3604 - enabled
3605 - disabled
3606 type: string
3607 replicaZoneSoftAntiAffinity:
3608 description: Replica zone soft anti affinity of the volume. Set enabled
3609 to allow replicas to be scheduled in the same zone.
3610 enum:
3611 - ignored
3612 - enabled
3613 - disabled
3614 type: string
3615 restoreVolumeRecurringJob:
3616 enum:
3617 - ignored
3618 - enabled
3619 - disabled
3620 type: string
3621 revisionCounterDisabled:
3622 type: boolean
3623 size:
3624 format: int64
3625 type: string
3626 snapshotDataIntegrity:
3627 enum:
3628 - ignored
3629 - disabled
3630 - enabled
3631 - fast-check
3632 type: string
3633 snapshotMaxCount:
3634 type: integer
3635 snapshotMaxSize:
3636 format: int64
3637 type: string
3638 staleReplicaTimeout:
3639 type: integer
3640 unmapMarkSnapChainRemoved:
3641 enum:
3642 - ignored
3643 - disabled
3644 - enabled
3645 type: string
3646 type: object
3647 status:
3648 description: VolumeStatus defines the observed state of the Longhorn volume
3649 properties:
3650 actualSize:
3651 format: int64
3652 type: integer
3653 cloneStatus:
3654 properties:
3655 attemptCount:
3656 type: integer
3657 nextAllowedAttemptAt:
3658 type: string
3659 snapshot:
3660 type: string
3661 sourceVolume:
3662 type: string
3663 state:
3664 type: string
3665 type: object
3666 conditions:
3667 items:
3668 properties:
3669 lastProbeTime:
3670 description: Last time we probed the condition.
3671 type: string
3672 lastTransitionTime:
3673 description: Last time the condition transitioned from one status
3674 to another.
3675 type: string
3676 message:
3677 description: Human-readable message indicating details about
3678 last transition.
3679 type: string
3680 reason:
3681 description: Unique, one-word, CamelCase reason for the condition's
3682 last transition.
3683 type: string
3684 status:
3685 description: |-
3686 Status is the status of the condition.
3687 Can be True, False, Unknown.
3688 type: string
3689 type:
3690 description: Type is the type of the condition.
3691 type: string
3692 type: object
3693 nullable: true
3694 type: array
3695 currentImage:
3696 type: string
3697 currentMigrationNodeID:
3698 description: the node that this volume is currently migrating to
3699 type: string
3700 currentNodeID:
3701 type: string
3702 expansionRequired:
3703 type: boolean
3704 frontendDisabled:
3705 type: boolean
3706 isStandby:
3707 type: boolean
3708 kubernetesStatus:
3709 properties:
3710 lastPVCRefAt:
3711 type: string
3712 lastPodRefAt:
3713 type: string
3714 namespace:
3715 description: determine if PVC/Namespace is history or not
3716 type: string
3717 pvName:
3718 type: string
3719 pvStatus:
3720 type: string
3721 pvcName:
3722 type: string
3723 workloadsStatus:
3724 description: determine if Pod/Workload is history or not
3725 items:
3726 properties:
3727 podName:
3728 type: string
3729 podStatus:
3730 type: string
3731 workloadName:
3732 type: string
3733 workloadType:
3734 type: string
3735 type: object
3736 nullable: true
3737 type: array
3738 type: object
3739 lastBackup:
3740 type: string
3741 lastBackupAt:
3742 type: string
3743 lastDegradedAt:
3744 type: string
3745 ownerID:
3746 type: string
3747 remountRequestedAt:
3748 type: string
3749 restoreInitiated:
3750 type: boolean
3751 restoreRequired:
3752 type: boolean
3753 robustness:
3754 type: string
3755 shareEndpoint:
3756 type: string
3757 shareState:
3758 type: string
3759 state:
3760 type: string
3761 type: object
3762 type: object
3763 served: true
3764 storage: true
3765 subresources:
3766 status: {}