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