From 72c6cc192302c9e5ec733e82f68f64027b2fefec Mon Sep 17 00:00:00 2001 From: cercatrova <63446299+cercatrova21@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:24:09 +0200 Subject: [PATCH] Update longhorn to 1.6.1 --- Kubernetes/Longhorn/longhorn.yaml | 452 ++++++++++++++++++++++++------ 1 file changed, 372 insertions(+), 80 deletions(-) diff --git a/Kubernetes/Longhorn/longhorn.yaml b/Kubernetes/Longhorn/longhorn.yaml index 5442cef..5aeb9e0 100644 --- a/Kubernetes/Longhorn/longhorn.yaml +++ b/Kubernetes/Longhorn/longhorn.yaml @@ -5,6 +5,20 @@ kind: Namespace metadata: name: longhorn-system --- +# Source: longhorn/templates/priorityclass.yaml +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: "longhorn-critical" + labels: + app.kubernetes.io/name: longhorn + app.kubernetes.io/instance: longhorn + app.kubernetes.io/version: v1.6.1 +description: "Ensure Longhorn pods have the highest priority to prevent any unexpected eviction by the Kubernetes scheduler under node pressure" +globalDefault: false +preemptionPolicy: PreemptLowerPriority +value: 1000000000 +--- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 kind: ServiceAccount @@ -14,7 +28,18 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 +--- +# Source: longhorn/templates/serviceaccount.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: longhorn-ui-service-account + namespace: longhorn-system + labels: + app.kubernetes.io/name: longhorn + app.kubernetes.io/instance: longhorn + app.kubernetes.io/version: v1.6.1 --- # Source: longhorn/templates/serviceaccount.yaml apiVersion: v1 @@ -25,7 +50,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 --- # Source: longhorn/templates/default-setting.yaml apiVersion: v1 @@ -36,9 +61,10 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 data: default-setting.yaml: |- + priority-class: longhorn-critical system-managed-components-node-selector: longhorn=true --- # Source: longhorn/templates/storageclass.yaml @@ -50,7 +76,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 data: storageclass.yaml: | kind: StorageClass @@ -69,6 +95,7 @@ data: fromBackup: "" fsType: "ext4" dataLocality: "disabled" + unmapMarkSnapChainRemoved: "ignored" --- # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 @@ -80,7 +107,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backingimagedatasources.longhorn.io spec: @@ -199,6 +226,7 @@ spec: - download - upload - export-from-volume + - restore type: string uuid: type: string @@ -251,7 +279,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backingimagemanagers.longhorn.io spec: @@ -427,7 +455,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backingimages.longhorn.io spec: @@ -530,6 +558,7 @@ spec: - download - upload - export-from-volume + - restore type: string type: object status: @@ -579,6 +608,147 @@ status: # Source: longhorn/templates/crds.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + labels: + longhorn-manager: "" + name: backupbackingimages.longhorn.io +spec: + group: longhorn.io + names: + kind: BackupBackingImage + listKind: BackupBackingImageList + plural: backupbackingimages + shortNames: + - lhbbi + singular: backupbackingimage + scope: Namespaced + versions: + - additionalPrinterColumns: + - description: The backing image name + jsonPath: .status.backingImage + name: BackingImage + type: string + - description: The backing image size + jsonPath: .status.size + name: Size + type: string + - description: The backing image backup upload finished time + jsonPath: .status.backupCreatedAt + name: BackupCreatedAt + type: string + - description: The backing image backup state + jsonPath: .status.state + name: State + type: string + - description: The last synced time + jsonPath: .status.lastSyncedAt + name: LastSyncedAt + type: string + name: v1beta2 + schema: + openAPIV3Schema: + description: BackupBackingImage is where Longhorn stores backing image backup object. + properties: + apiVersion: + 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' + type: string + kind: + 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' + type: string + metadata: + type: object + spec: + description: BackupBackingImageSpec defines the desired state of the Longhorn backing image backup + properties: + labels: + additionalProperties: + type: string + description: The labels of backing image backup. + type: object + syncRequestedAt: + description: The time to request run sync the remote backing image backup. + format: date-time + nullable: true + type: string + userCreated: + description: Is this CR created by user through API or UI. Required + type: boolean + required: + - userCreated + type: object + status: + description: BackupBackingImageStatus defines the observed state of the Longhorn backing image backup + properties: + backingImage: + description: The backing image name. + type: string + backupCreatedAt: + description: The backing image backup upload finished time. + type: string + checksum: + description: The checksum of the backing image. + type: string + compressionMethod: + description: Compression method + type: string + error: + description: The error message when taking the backing image backup. + type: string + labels: + additionalProperties: + type: string + description: The labels of backing image backup. + nullable: true + type: object + lastSyncedAt: + description: The last time that the backing image backup was synced with the remote backup target. + format: date-time + nullable: true + type: string + managerAddress: + description: The address of the backing image manager that runs backing image backup. + type: string + messages: + additionalProperties: + type: string + description: The error messages when listing or inspecting backing image backup. + nullable: true + type: object + ownerID: + description: The node ID on which the controller is responsible to reconcile this CR. + type: string + progress: + description: The backing image backup progress. + type: integer + size: + description: The backing image size. + format: int64 + type: integer + state: + description: The backing image backup creation state. Can be "", "InProgress", "Completed", "Error", "Unknown". + type: string + url: + description: The backing image backup URL. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] +--- +# Source: longhorn/templates/crds.yaml +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 @@ -586,7 +756,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backups.longhorn.io spec: @@ -782,7 +952,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backuptargets.longhorn.io spec: @@ -965,7 +1135,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: backupvolumes.longhorn.io spec: @@ -1132,7 +1302,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: engineimages.longhorn.io spec: @@ -1202,6 +1372,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: Compatibility of the engine image + jsonPath: .status.incompatible + name: Incompatible + type: boolean - description: State of the engine image jsonPath: .status.state name: State @@ -1286,6 +1460,8 @@ spec: type: integer gitCommit: type: string + incompatible: + type: boolean noRefSince: type: string nodeDeploymentMap: @@ -1320,11 +1496,10 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: engines.longhorn.io spec: @@ -1336,6 +1511,7 @@ spec: shortNames: - lhe singular: engine + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -1381,6 +1557,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: The data engine of the engine + jsonPath: .spec.dataEngine + name: Data Engine + type: string - description: The current state of the engine jsonPath: .status.currentState name: State @@ -1419,17 +1599,21 @@ spec: active: type: boolean backendStoreDriver: + description: 'Deprecated: Replaced by field `dataEngine`.' + type: string + backupVolume: + type: string + dataEngine: enum: - v1 - v2 type: string - backupVolume: - type: string desireState: type: string disableFrontend: type: boolean engineImage: + description: 'Deprecated: Replaced by field `image`.' type: string frontend: enum: @@ -1438,6 +1622,8 @@ spec: - nvmf - "" type: string + image: + type: string logRequested: type: boolean nodeID: @@ -1454,6 +1640,11 @@ spec: type: boolean salvageRequested: type: boolean + snapshotMaxCount: + type: integer + snapshotMaxSize: + format: int64 + type: string unmapMarkSnapChainRemovedEnabled: type: boolean upgradedReplicaAddressMap: @@ -1596,6 +1787,11 @@ spec: type: string nullable: true type: object + replicaTransitionTimeMap: + additionalProperties: + type: string + description: ReplicaTransitionTimeMap records the time a replica in ReplicaModeMap transitions from one mode to another (or from not being in the ReplicaModeMap to being in it). This information is sometimes required by other controllers (e.g. the volume controller uses it to determine the correct value for replica.Spec.lastHealthyAt). + type: object restoreStatus: additionalProperties: properties: @@ -1620,6 +1816,11 @@ spec: type: object salvageExecuted: type: boolean + snapshotMaxCount: + type: integer + snapshotMaxSize: + format: int64 + type: string snapshots: additionalProperties: properties: @@ -1675,11 +1876,10 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: instancemanagers.longhorn.io spec: @@ -1691,6 +1891,7 @@ spec: shortNames: - lhim singular: instancemanager + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -1732,6 +1933,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: The data engine of the instance manager + jsonPath: .spec.dataEngine + name: Data Engine + type: string - description: The state of the instance manager jsonPath: .status.currentState name: State @@ -1761,8 +1966,10 @@ spec: metadata: type: object spec: - description: InstanceManagerSpec defines the desired state of the Longhorn instancer manager + description: InstanceManagerSpec defines the desired state of the Longhorn instance manager properties: + dataEngine: + type: string image: type: string nodeID: @@ -1793,12 +2000,20 @@ spec: spec: properties: backendStoreDriver: + description: 'Deprecated: Replaced by field `dataEngine`.' + type: string + dataEngine: type: string name: type: string type: object status: properties: + conditions: + additionalProperties: + type: boolean + nullable: true + type: object endpoint: type: string errorMsg: @@ -1828,12 +2043,20 @@ spec: spec: properties: backendStoreDriver: + description: 'Deprecated: Replaced by field `dataEngine`.' + type: string + dataEngine: type: string name: type: string type: object status: properties: + conditions: + additionalProperties: + type: boolean + nullable: true + type: object endpoint: type: string errorMsg: @@ -1863,12 +2086,20 @@ spec: spec: properties: backendStoreDriver: + description: 'Deprecated: Replaced by field `dataEngine`.' + type: string + dataEngine: type: string name: type: string type: object status: properties: + conditions: + additionalProperties: + type: boolean + nullable: true + type: object endpoint: type: string errorMsg: @@ -1920,7 +2151,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: nodes.longhorn.io spec: @@ -2018,12 +2249,18 @@ spec: description: NodeSpec defines the desired state of the Longhorn node properties: allowScheduling: + description: Allow scheduling replicas on the node. type: boolean disks: additionalProperties: properties: allowScheduling: type: boolean + diskType: + enum: + - filesystem + - block + type: string evictionRequested: type: boolean path: @@ -2035,11 +2272,6 @@ spec: items: type: string type: array - diskType: - enum: - - filesystem - - block - type: string type: object type: object evictionRequested: @@ -2056,6 +2288,8 @@ spec: status: description: NodeStatus defines the observed state of the Longhorn node properties: + autoEvicting: + type: boolean conditions: items: properties: @@ -2111,6 +2345,8 @@ spec: type: string diskUUID: type: string + filesystemType: + type: string scheduledReplica: additionalProperties: format: int64 @@ -2127,19 +2363,21 @@ spec: format: int64 type: integer type: object + description: The status of the disks on the node. nullable: true type: object region: + description: The Region of the node. type: string snapshotCheckStatus: + description: The status of the snapshot integrity check. properties: lastPeriodicCheckedAt: format: date-time type: string - snapshotCheckState: - type: string type: object zone: + description: The Zone of the node. type: string type: object type: object @@ -2164,7 +2402,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: orphans.longhorn.io spec: @@ -2431,11 +2669,10 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: replicas.longhorn.io spec: @@ -2447,6 +2684,7 @@ spec: shortNames: - lhr singular: replica + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -2496,6 +2734,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: The data engine of the replica + jsonPath: .spec.dataEngine + name: Data Engine + type: string - description: The current state of the replica jsonPath: .status.currentState name: State @@ -2538,14 +2780,17 @@ spec: active: type: boolean backendStoreDriver: - enum: - - v1 - - v2 + description: 'Deprecated: Replaced by field `dataEngine`.' type: string backingImage: type: string dataDirectoryName: type: string + dataEngine: + enum: + - v1 + - v2 + type: string desireState: type: string diskID: @@ -2553,14 +2798,27 @@ spec: diskPath: type: string engineImage: + description: 'Deprecated: Replaced by field `image`.' type: string engineName: type: string + evictionRequested: + type: boolean failedAt: + description: FailedAt is set when a running replica fails or when a running engine is unable to use a replica for any reason. FailedAt indicates the time the failure occurred. When FailedAt is set, a replica is likely to have useful (though possibly stale) data. A replica with FailedAt set must be rebuilt from a non-failed replica (or it can be used in a salvage if all replicas are failed). FailedAt is cleared before a rebuild or salvage. FailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string hardNodeAffinity: type: string healthyAt: + description: HealthyAt is set the first time a replica becomes read/write in an engine after creation or rebuild. HealthyAt indicates the time the last successful rebuild occurred. When HealthyAt is set, a replica is likely to have useful (though possibly stale) data. HealthyAt is cleared before a rebuild. HealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + type: string + image: + type: string + lastFailedAt: + description: LastFailedAt is always set at the same time as FailedAt. Unlike FailedAt, LastFailedAt is never cleared. LastFailedAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastFailedAt may already be healthy and in use again. However, because it is never cleared, it can be compared to LastHealthyAt to help prevent dangerous replica deletion in some corner cases. LastFailedAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. + type: string + lastHealthyAt: + description: LastHealthyAt is set every time a replica becomes read/write in an engine. Unlike HealthyAt, LastHealthyAt is never cleared. LastHealthyAt is not a reliable indicator of the state of a replica's data. For example, a replica with LastHealthyAt set may be in the middle of a rebuild. However, because it is never cleared, it can be compared to LastFailedAt to help prevent dangerous replica deletion in some corner cases. LastHealthyAt may be later than the corresponding entry in an engine's replicaTransitionTimeMap because it is set when the volume controller acknowledges the change. type: string logRequested: type: boolean @@ -2572,6 +2830,11 @@ spec: type: boolean salvageRequested: type: boolean + snapshotMaxCount: + type: integer + snapshotMaxSize: + format: int64 + type: string unmapMarkDiskChainRemovedEnabled: type: boolean volumeName: @@ -2612,6 +2875,7 @@ spec: currentState: type: string evictionRequested: + description: 'Deprecated: Replaced by field `spec.evictionRequested`.' type: boolean instanceManagerName: type: string @@ -2648,11 +2912,10 @@ kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.7.0 - creationTimestamp: null labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: settings.longhorn.io spec: @@ -2664,6 +2927,7 @@ spec: shortNames: - lhs singular: setting + preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: @@ -2718,6 +2982,7 @@ spec: metadata: type: object value: + description: The value of the setting. type: string required: - value @@ -2743,7 +3008,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: sharemanagers.longhorn.io spec: @@ -2858,7 +3123,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: snapshots.longhorn.io spec: @@ -2985,7 +3250,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: supportbundles.longhorn.io spec: @@ -3111,7 +3376,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: systembackups.longhorn.io spec: @@ -3239,7 +3504,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: systemrestores.longhorn.io spec: @@ -3341,7 +3606,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: volumes.longhorn.io spec: @@ -3415,6 +3680,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: The data engine of the volume + jsonPath: .spec.dataEngine + name: Data Engine + type: string - description: The state of the volume jsonPath: .status.state name: State @@ -3462,9 +3731,7 @@ spec: - rwx type: string backendStoreDriver: - enum: - - v1 - - v2 + description: 'Deprecated: Replaced by field `dataEngine`.' type: string backingImage: type: string @@ -3474,6 +3741,11 @@ spec: - lz4 - gzip type: string + dataEngine: + enum: + - v1 + - v2 + type: string dataLocality: enum: - disabled @@ -3491,6 +3763,7 @@ spec: encrypted: type: boolean engineImage: + description: 'Deprecated: Replaced by field `image`.' type: string fromBackup: type: string @@ -3501,6 +3774,8 @@ spec: - nvmf - "" type: string + image: + type: string lastAttachedBy: type: string migratable: @@ -3529,15 +3804,22 @@ spec: - least-effort - best-effort type: string + replicaDiskSoftAntiAffinity: + description: Replica disk soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same disk. + enum: + - ignored + - enabled + - disabled + type: string replicaSoftAntiAffinity: - description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node + description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node. enum: - ignored - enabled - disabled type: string replicaZoneSoftAntiAffinity: - description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone + description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone. enum: - ignored - enabled @@ -3561,6 +3843,11 @@ spec: - enabled - fast-check type: string + snapshotMaxCount: + type: integer + snapshotMaxSize: + format: int64 + type: string staleReplicaTimeout: type: integer unmapMarkSnapChainRemoved: @@ -3703,7 +3990,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 longhorn-manager: "" name: volumeattachments.longhorn.io spec: @@ -3832,7 +4119,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 rules: - apiGroups: - apiextensions.k8s.io @@ -3872,7 +4159,7 @@ rules: "backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status", "recurringjobs", "recurringjobs/status", "orphans", "orphans/status", "snapshots", "snapshots/status", "supportbundles", "supportbundles/status", "systembackups", "systembackups/status", "systemrestores", "systemrestores/status", - "volumeattachments", "volumeattachments/status"] + "volumeattachments", "volumeattachments/status", "backupbackingimages", "backupbackingimages/status"] verbs: ["*"] - apiGroups: ["coordination.k8s.io"] resources: ["leases"] @@ -3898,7 +4185,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -3916,7 +4203,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -3933,7 +4220,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-manager name: longhorn-backend namespace: longhorn-system @@ -3954,7 +4241,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-ui name: longhorn-frontend namespace: longhorn-system @@ -3975,7 +4262,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-conversion-webhook name: longhorn-conversion-webhook namespace: longhorn-system @@ -3996,7 +4283,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-admission-webhook name: longhorn-admission-webhook namespace: longhorn-system @@ -4017,7 +4304,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-recovery-backend name: longhorn-recovery-backend namespace: longhorn-system @@ -4038,7 +4325,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 name: longhorn-engine-manager namespace: longhorn-system spec: @@ -4054,7 +4341,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 name: longhorn-replica-manager namespace: longhorn-system spec: @@ -4070,7 +4357,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-manager name: longhorn-manager namespace: longhorn-system @@ -4083,12 +4370,12 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-manager spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.5.3 + image: longhornio/longhorn-manager:v1.6.1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -4097,19 +4384,20 @@ spec: - -d - daemon - --engine-image - - "longhornio/longhorn-engine:v1.5.3" + - "longhornio/longhorn-engine:v1.6.1" - --instance-manager-image - - "longhornio/longhorn-instance-manager:v1.5.3" + - "longhornio/longhorn-instance-manager:v1.6.1" - --share-manager-image - - "longhornio/longhorn-share-manager:v1.5.3" + - "longhornio/longhorn-share-manager:v1.6.1" - --backing-image-manager-image - - "longhornio/backing-image-manager:v1.5.3" + - "longhornio/backing-image-manager:v1.6.1" - --support-bundle-manager-image - - "longhornio/support-bundle-kit:v0.0.25" + - "longhornio/support-bundle-kit:v0.0.36" - --manager-image - - "longhornio/longhorn-manager:v1.5.3" + - "longhornio/longhorn-manager:v1.6.1" - --service-account - longhorn-service-account + - --upgrade-version-check ports: - containerPort: 9500 name: manager @@ -4163,6 +4451,7 @@ spec: secret: secretName: longhorn-grpc-tls optional: true + priorityClassName: "longhorn-critical" serviceAccountName: longhorn-service-account updateStrategy: rollingUpdate: @@ -4177,7 +4466,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 spec: replicas: 1 selector: @@ -4188,23 +4477,23 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-driver-deployer spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.5.3 + image: longhornio/longhorn-manager:v1.6.1 command: ['sh', '-c', 'while [ $(curl -m 1 -s -o /dev/null -w "%{http_code}" http://longhorn-backend:9500/v1) != "200" ]; do echo waiting; sleep 2; done'] containers: - name: longhorn-driver-deployer - image: longhornio/longhorn-manager:v1.5.3 + image: longhornio/longhorn-manager:v1.6.1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - "longhornio/longhorn-manager:v1.5.3" + - "longhornio/longhorn-manager:v1.6.1" - --manager-url - http://longhorn-backend:9500/v1 env: @@ -4221,17 +4510,18 @@ spec: fieldRef: fieldPath: spec.serviceAccountName - name: CSI_ATTACHER_IMAGE - value: "longhornio/csi-attacher:v4.2.0" + value: "longhornio/csi-attacher:v4.4.2" - name: CSI_PROVISIONER_IMAGE - value: "longhornio/csi-provisioner:v3.4.1" + value: "longhornio/csi-provisioner:v3.6.2" - name: CSI_NODE_DRIVER_REGISTRAR_IMAGE - value: "longhornio/csi-node-driver-registrar:v2.7.0" + value: "longhornio/csi-node-driver-registrar:v2.9.2" - name: CSI_RESIZER_IMAGE - value: "longhornio/csi-resizer:v1.7.0" + value: "longhornio/csi-resizer:v1.9.2" - name: CSI_SNAPSHOTTER_IMAGE - value: "longhornio/csi-snapshotter:v6.2.1" + value: "longhornio/csi-snapshotter:v6.3.2" - name: CSI_LIVENESS_PROBE_IMAGE - value: "longhornio/livenessprobe:v2.9.0" + value: "longhornio/livenessprobe:v2.12.0" + priorityClassName: "longhorn-critical" nodeSelector: longhorn: "true" serviceAccountName: longhorn-service-account @@ -4245,7 +4535,7 @@ metadata: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-ui name: longhorn-ui namespace: longhorn-system @@ -4259,9 +4549,10 @@ spec: labels: app.kubernetes.io/name: longhorn app.kubernetes.io/instance: longhorn - app.kubernetes.io/version: v1.5.3 + app.kubernetes.io/version: v1.6.1 app: longhorn-ui spec: + serviceAccountName: longhorn-ui-service-account affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: @@ -4276,7 +4567,7 @@ spec: topologyKey: kubernetes.io/hostname containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.5.3 + image: longhornio/longhorn-ui:v1.6.1 imagePullPolicy: IfNotPresent volumeMounts: - name : nginx-cache @@ -4302,6 +4593,7 @@ spec: name: nginx-config - emptyDir: {} name: var-run + priorityClassName: "longhorn-critical" --- # Source: longhorn/templates/validate-psp-install.yaml #