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