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