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