From 2287b51e00141811a736f70985915becf572a0fb Mon Sep 17 00:00:00 2001 From: JenTing Hsiao Date: Thu, 2 Sep 2021 13:01:03 +0800 Subject: [PATCH 01/13] Helm chart doesn't allow `-xxx` as a valid version - Unless we add `-0`, see helm/helm#9371 for details. - Besides that, the semver parser doesn't allow with prefix `v`. Remove the prefix `v`. https://github.com/rancher/rancher/blob/release/v2.5.9/pkg/catalog/manager/manager.go#L218-L221 Longhorn 2963 Signed-off-by: JenTing Hsiao --- chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index ca33e3970d..4b3c3cdf70 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 name: longhorn version: 1.2.0 appVersion: v1.2.0 -kubeVersion: ">=v1.18.0" +kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: - longhorn From f0bfaddff9d3ed59f34b4318b0feeb0443d9e3a2 Mon Sep 17 00:00:00 2001 From: JenTing Hsiao Date: Thu, 2 Sep 2021 10:23:10 +0800 Subject: [PATCH 02/13] Remove duplicate item in Chart sources Signed-off-by: JenTing Hsiao --- chart/Chart.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 4b3c3cdf70..d898eef643 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -18,7 +18,6 @@ sources: - https://github.com/longhorn/longhorn-engine - https://github.com/longhorn/longhorn-instance-manager - https://github.com/longhorn/longhorn-share-manager -- https://github.com/longhorn/backing-image-manager - https://github.com/longhorn/longhorn-manager - https://github.com/longhorn/longhorn-ui - https://github.com/longhorn/longhorn-tests From f2856cd358007d9409fdfec5dbcb8094bc085c2f Mon Sep 17 00:00:00 2001 From: phanle1010 Date: Thu, 2 Sep 2021 11:17:07 -0700 Subject: [PATCH 03/13] Explicitly set default fsType to EXT4 This allow Kubernetes to properly changes the volume ownership and permissions when user specify fsGroup in workload pod Longhorn-2964 Signed-off-by: phanle1010 --- chart/templates/storageclass.yaml | 3 +++ chart/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/chart/templates/storageclass.yaml b/chart/templates/storageclass.yaml index fd2dde5105..78ae33d224 100644 --- a/chart/templates/storageclass.yaml +++ b/chart/templates/storageclass.yaml @@ -20,6 +20,9 @@ data: numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}" staleReplicaTimeout: "30" fromBackup: "" + {{- if .Values.persistence.defaultFsType }} + fsType: "{{.Values.persistence.defaultFsType}}" + {{- end }} {{- if .Values.persistence.backingImage.enable }} backingImage: {{ .Values.persistence.backingImage.name }} backingImageDataSourceType: {{ .Values.persistence.backingImage.dataSourceType }} diff --git a/chart/values.yaml b/chart/values.yaml index c9d90fbc42..40672cbaf1 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -53,6 +53,7 @@ service: persistence: defaultClass: true + defaultFsType: ext4 defaultClassReplicaCount: 3 reclaimPolicy: Delete recurringJobSelector: From 669dfd29ef65eb3da313d0e99c6966a38cd07f7b Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Fri, 3 Sep 2021 13:47:19 +0800 Subject: [PATCH 04/13] chart: Add new setting 'Backing Image Recovery Wait Interval' Longhorn 2957 Signed-off-by: Shuo Wu --- chart/questions.yml | 10 ++++++++++ chart/templates/default-setting.yaml | 1 + chart/values.yaml | 1 + 3 files changed, 12 insertions(+) diff --git a/chart/questions.yml b/chart/questions.yml index 128b070696..dceff61474 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -433,6 +433,16 @@ Warning: This option works only when there is a failed replica in the volume. An type: int min: 0 default: 60 + - variable: defaultSettings.backingImageRecoveryWaitInterval + label: Backing Image Recovery Wait Interval + description: "This interval in seconds determines how long Longhorn will wait before re-downloading the backing image file when all disk files of this backing image become failed or unknown. + WARNING: + - This recovery only works for the backing image of which the creation type is \"download\". + - File state \"unknown\" means the related manager pods on the pod is not running or the node itself is down/disconnected.", + group: "Longhorn Default Settings" + type: int + min: 0 + default: 300 - variable: defaultSettings.guaranteedEngineManagerCPU label: Guaranteed Engine Manager CPU description: "This integer value indicates how many percentage of the total allocatable CPU on each node will be reserved for each engine manager Pod. For example, 10 means 10% of the total CPU on a node will be allocated to each engine manager pod on this node. This will help maintain engine stability during high node workload. diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 2b8ec214c1..2e32c726c9 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -38,5 +38,6 @@ data: auto-cleanup-system-generated-snapshot: {{ .Values.defaultSettings.autoCleanupSystemGeneratedSnapshot }} concurrent-automatic-engine-upgrade-per-node-limit: {{ .Values.defaultSettings.concurrentAutomaticEngineUpgradePerNodeLimit }} backing-image-cleanup-wait-interval: {{ .Values.defaultSettings.backingImageCleanupWaitInterval }} + backing-image-recovery-wait-interval: {{ .Values.defaultSettings.backingImageRecoveryWaitInterval }} guaranteed-engine-manager-cpu: {{ .Values.defaultSettings.guaranteedEngineManagerCPU }} guaranteed-replica-manager-cpu: {{ .Values.defaultSettings.guaranteedReplicaManagerCPU }} diff --git a/chart/values.yaml b/chart/values.yaml index 40672cbaf1..b145676036 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -106,6 +106,7 @@ defaultSettings: autoCleanupSystemGeneratedSnapshot: ~ concurrentAutomaticEngineUpgradePerNodeLimit: ~ backingImageCleanupWaitInterval: ~ + backingImageRecoveryWaitInterval: ~ guaranteedEngineManagerCPU: ~ guaranteedReplicaManagerCPU: ~ privateRegistry: From d4728f44dfcd4fea2a730fdf1e0645284187bd17 Mon Sep 17 00:00:00 2001 From: Joshua Moody Date: Tue, 14 Sep 2021 13:08:13 +0200 Subject: [PATCH 05/13] Update share-manager image to v1_20210914 This fixes the previously created RWX volumes that were marked as XFS but got created as EXT4 since we only supported EXT4 at the time. Longhorn #2991 Signed-off-by: Joshua Moody --- chart/questions.yml | 2 +- chart/values.yaml | 2 +- deploy/longhorn-images.txt | 2 +- deploy/longhorn.yaml | 2 +- deploy/release-images.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/questions.yml b/chart/questions.yml index dceff61474..f9f491813c 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -65,7 +65,7 @@ questions: label: Longhorn Share Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.shareManager.tag - default: v1_20210820 + default: v1_20210914 description: "Specify Longhorn Share Manager Image Tag" type: string label: Longhorn Share Manager Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index b145676036..d9515c1ac0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -21,7 +21,7 @@ image: tag: v1_20210731 shareManager: repository: longhornio/longhorn-share-manager - tag: v1_20210820 + tag: v1_20210914 backingImageManager: repository: longhornio/backing-image-manager tag: v2_20210820 diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 67de33a011..75fe1983d4 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -7,5 +7,5 @@ longhornio/backing-image-manager:v2_20210820 longhornio/longhorn-engine:v1.2.0 longhornio/longhorn-instance-manager:v1_20210731 longhornio/longhorn-manager:v1.2.0 -longhornio/longhorn-share-manager:v1_20210820 +longhornio/longhorn-share-manager:v1_20210914 longhornio/longhorn-ui:v1.2.0 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 55db063a00..d6a3b13798 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -994,7 +994,7 @@ spec: - --instance-manager-image - longhornio/longhorn-instance-manager:v1_20210731 - --share-manager-image - - longhornio/longhorn-share-manager:v1_20210820 + - longhornio/longhorn-share-manager:v1_20210914 - --backing-image-manager-image - longhornio/backing-image-manager:v2_20210820 - --manager-image diff --git a/deploy/release-images.txt b/deploy/release-images.txt index 35f8d3bf87..450dcde4df 100644 --- a/deploy/release-images.txt +++ b/deploy/release-images.txt @@ -7,5 +7,5 @@ longhornio/backing-image-manager:v1_20210422 longhornio/longhorn-engine:v1.1.2 longhornio/longhorn-instance-manager:v1_20210621 longhornio/longhorn-manager:v1.1.2 -longhornio/longhorn-share-manager:v1_20210416 +longhornio/longhorn-share-manager:v1_20210914 longhornio/longhorn-ui:v1.1.2 From ecc529569d5d14580cccf8b2edb9171ff0cee9a7 Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Thu, 16 Sep 2021 19:39:22 +0800 Subject: [PATCH 06/13] chart: Add new setting 'Concurrent Replica Rebuild Per Node Limit' Longhorn 2460 Signed-off-by: Shuo Wu --- chart/questions.yml | 7 +++++++ chart/templates/default-setting.yaml | 1 + chart/values.yaml | 1 + 3 files changed, 9 insertions(+) diff --git a/chart/questions.yml b/chart/questions.yml index f9f491813c..cb0510e495 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -391,6 +391,13 @@ Warning: This option works only when there is a failed replica in the volume. An type: int min: 0 default: 600 + - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit + label: Concurrent Replica Rebuild Per Node Limit + description: "This setting controls how many replicas on a node can be rebuilt simultaneously. If the value is 0, Longhorn will not limit the rebuilding." + group: "Longhorn Default Settings" + type: int + min: 0 + default: 0 - variable: defaultSettings.disableRevisionCounter label: Disable Revision Counter description: "This setting is only for volumes created by UI. By default, this is false meaning there will be a reivision counter file to track every write to the volume. During salvage recovering Longhorn will pick the repica with largest reivision counter as candidate to recover the whole volume. If revision counter is disabled, Longhorn will not track every write to the volume. During the salvage recovering, Longhorn will use the 'volume-head-xxx.img' file last modification time and file size to pick the replica candidate to recover the whole volume." diff --git a/chart/templates/default-setting.yaml b/chart/templates/default-setting.yaml index 2e32c726c9..6f87996718 100644 --- a/chart/templates/default-setting.yaml +++ b/chart/templates/default-setting.yaml @@ -32,6 +32,7 @@ data: mkfs-ext4-parameters: {{ .Values.defaultSettings.mkfsExt4Parameters }} disable-replica-rebuild: {{ .Values.defaultSettings.disableReplicaRebuild }} replica-replenishment-wait-interval: {{ .Values.defaultSettings.replicaReplenishmentWaitInterval }} + concurrent-replica-rebuild-per-node-limit: {{ .Values.defaultSettings.concurrentReplicaRebuildPerNodeLimit }} disable-revision-counter: {{ .Values.defaultSettings.disableRevisionCounter }} system-managed-pods-image-pull-policy: {{ .Values.defaultSettings.systemManagedPodsImagePullPolicy }} allow-volume-creation-with-degraded-availability: {{ .Values.defaultSettings.allowVolumeCreationWithDegradedAvailability }} diff --git a/chart/values.yaml b/chart/values.yaml index d9515c1ac0..9a6373acef 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -100,6 +100,7 @@ defaultSettings: mkfsExt4Parameters: ~ disableReplicaRebuild: ~ replicaReplenishmentWaitInterval: ~ + concurrentReplicaRebuildPerNodeLimit: ~ disableRevisionCounter: ~ systemManagedPodsImagePullPolicy: ~ allowVolumeCreationWithDegradedAvailability: ~ From cba459e2cba4aaee9c88b47c44fecd7af21bb5e2 Mon Sep 17 00:00:00 2001 From: phanle1010 Date: Thu, 16 Sep 2021 10:20:46 -0700 Subject: [PATCH 07/13] Remove release-images.txt because it is duplication of longhorn-images.txt Signed-off-by: phanle1010 --- deploy/release-images.txt | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 deploy/release-images.txt diff --git a/deploy/release-images.txt b/deploy/release-images.txt deleted file mode 100644 index 450dcde4df..0000000000 --- a/deploy/release-images.txt +++ /dev/null @@ -1,11 +0,0 @@ -longhornio/csi-attacher:v2.2.1-lh2 -longhornio/csi-node-driver-registrar:v1.2.0-lh1 -longhornio/csi-provisioner:v1.6.0-lh2 -longhornio/csi-resizer:v0.5.1-lh2 -longhornio/csi-snapshotter:v2.1.1-lh2 -longhornio/backing-image-manager:v1_20210422 -longhornio/longhorn-engine:v1.1.2 -longhornio/longhorn-instance-manager:v1_20210621 -longhornio/longhorn-manager:v1.1.2 -longhornio/longhorn-share-manager:v1_20210914 -longhornio/longhorn-ui:v1.1.2 From 7b8140ba2f52eb3a54796b35d7b0c03a0a5247ad Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 17 Sep 2021 09:11:00 +0800 Subject: [PATCH 08/13] Update to 1.2.1-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 ++-- chart/questions.yml | 6 +++--- chart/values.yaml | 6 +++--- deploy/longhorn-images.txt | 6 +++--- deploy/longhorn.yaml | 17 ++++++++++------- scripts/lhexec | 2 +- uninstall/uninstall.yaml | 2 +- 7 files changed, 23 insertions(+), 20 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index d898eef643..3ab674471a 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.2.0 -appVersion: v1.2.0 +version: 1.2.1-rc1 +appVersion: v1.2.1-rc1 kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yml b/chart/questions.yml index cb0510e495..7e653804c1 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.2.0 + default: v1.2.1-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.2.0 + default: v1.2.1-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.2.0 + default: v1.2.1-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 9a6373acef..455b5a1041 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -9,13 +9,13 @@ image: longhorn: engine: repository: longhornio/longhorn-engine - tag: v1.2.0 + tag: v1.2.1-rc1 manager: repository: longhornio/longhorn-manager - tag: v1.2.0 + tag: v1.2.1-rc1 ui: repository: longhornio/longhorn-ui - tag: v1.2.0 + tag: v1.2.1-rc1 instanceManager: repository: longhornio/longhorn-instance-manager tag: v1_20210731 diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 75fe1983d4..97cc62dea2 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,8 +4,8 @@ k8s.gcr.io/sig-storage/csi-resizer:v1.2.0 k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3 k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0 longhornio/backing-image-manager:v2_20210820 -longhornio/longhorn-engine:v1.2.0 +longhornio/longhorn-engine:v1.2.1-rc1 longhornio/longhorn-instance-manager:v1_20210731 -longhornio/longhorn-manager:v1.2.0 +longhornio/longhorn-manager:v1.2.1-rc1 longhornio/longhorn-share-manager:v1_20210914 -longhornio/longhorn-ui:v1.2.0 +longhornio/longhorn-ui:v1.2.1-rc1 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index d6a3b13798..4ebbde25f3 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -864,12 +864,14 @@ data: mkfs-ext4-parameters: disable-replica-rebuild: replica-replenishment-wait-interval: + concurrent-replica-rebuild-per-node-limit: disable-revision-counter: system-managed-pods-image-pull-policy: allow-volume-creation-with-degraded-availability: auto-cleanup-system-generated-snapshot: concurrent-automatic-engine-upgrade-per-node-limit: backing-image-cleanup-wait-interval: + backing-image-recovery-wait-interval: guaranteed-engine-manager-cpu: guaranteed-replica-manager-cpu: --- @@ -951,6 +953,7 @@ data: reclaimPolicy: Delete volumeBindingMode: Immediate parameters: + fsType: "ext4" numberOfReplicas: "3" staleReplicaTimeout: "2880" fromBackup: "" @@ -981,7 +984,7 @@ spec: spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.2.0 + image: longhornio/longhorn-manager:v1.2.1-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -990,7 +993,7 @@ spec: - -d - daemon - --engine-image - - longhornio/longhorn-engine:v1.2.0 + - longhornio/longhorn-engine:v1.2.1-rc1 - --instance-manager-image - longhornio/longhorn-instance-manager:v1_20210731 - --share-manager-image @@ -998,7 +1001,7 @@ spec: - --backing-image-manager-image - longhornio/backing-image-manager:v2_20210820 - --manager-image - - longhornio/longhorn-manager:v1.2.0 + - longhornio/longhorn-manager:v1.2.1-rc1 - --service-account - longhorn-service-account ports: @@ -1098,7 +1101,7 @@ spec: spec: containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.2.0 + image: longhornio/longhorn-ui:v1.2.1-rc1 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 @@ -1154,18 +1157,18 @@ spec: spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.2.0 + image: longhornio/longhorn-manager:v1.2.1-rc1 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.2.0 + image: longhornio/longhorn-manager:v1.2.1-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - longhornio/longhorn-manager:v1.2.0 + - longhornio/longhorn-manager:v1.2.1-rc1 - --manager-url - http://longhorn-backend:9500/v1 env: diff --git a/scripts/lhexec b/scripts/lhexec index fd6a9e7bd4..54ea70475a 100755 --- a/scripts/lhexec +++ b/scripts/lhexec @@ -32,7 +32,7 @@ check_engine_state(){ echo "Err: Longhorn engine for volume ${VOLUME_NAME} is not running" exit 1 fi - + } exec_command() { diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 98ec36bcb8..88ece4d176 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -101,7 +101,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.2.0 + image: longhornio/longhorn-manager:v1.2.1-rc1 imagePullPolicy: Always securityContext: privileged: true From 607808927d549850ffe506079b2049d77a64a00c Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Fri, 24 Sep 2021 19:50:29 +0800 Subject: [PATCH 09/13] chart: Update setting 'ConcurrentReplicaRebuildPerNodeLimit' Longhorn 2460 Signed-off-by: Shuo Wu --- chart/questions.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/chart/questions.yml b/chart/questions.yml index 7e653804c1..9d4ef76210 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -393,11 +393,16 @@ Warning: This option works only when there is a failed replica in the volume. An default: 600 - variable: defaultSettings.concurrentReplicaRebuildPerNodeLimit label: Concurrent Replica Rebuild Per Node Limit - description: "This setting controls how many replicas on a node can be rebuilt simultaneously. If the value is 0, Longhorn will not limit the rebuilding." + description: "This setting controls how many replicas on a node can be rebuilt simultaneously. +Typically, Longhorn can block the replica starting once the current rebuilding count on a node exceeds the limit. But when the value is 0, it means disabling the replica rebuilding. +WARNING: +- The old setting \"Disable Replica Rebuild\" is replaced by this setting. +- Different from relying on replica starting delay to limit the concurrent rebuilding, if the rebuilding is disabled, replica object replenishment will be directly skipped. +- When the value is 0, the eviction and data locality feature won't work. But this shouldn't have any impact to any current replica rebuild and backup restore.", group: "Longhorn Default Settings" type: int min: 0 - default: 0 + default: 5 - variable: defaultSettings.disableRevisionCounter label: Disable Revision Counter description: "This setting is only for volumes created by UI. By default, this is false meaning there will be a reivision counter file to track every write to the volume. During salvage recovering Longhorn will pick the repica with largest reivision counter as candidate to recover the whole volume. If revision counter is disabled, Longhorn will not track every write to the volume. During the salvage recovering, Longhorn will use the 'volume-head-xxx.img' file last modification time and file size to pick the replica candidate to recover the whole volume." From 0b91c1bc39a89caf64cc22001c2b72c91385fd6b Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 24 Sep 2021 21:17:18 +0800 Subject: [PATCH 10/13] Update to 1.2.1-rc2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 ++-- chart/questions.yml | 6 +++--- chart/values.yaml | 6 +++--- deploy/longhorn-images.txt | 6 +++--- deploy/longhorn.yaml | 14 +++++++------- uninstall/uninstall.yaml | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 3ab674471a..ba3977aca1 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.2.1-rc1 -appVersion: v1.2.1-rc1 +version: 1.2.1-rc2 +appVersion: v1.2.1-rc2 kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yml b/chart/questions.yml index 9d4ef76210..8d43d164c9 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.2.1-rc1 + default: v1.2.1-rc2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.2.1-rc1 + default: v1.2.1-rc2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.2.1-rc1 + default: v1.2.1-rc2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 455b5a1041..725ffce7ef 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -9,13 +9,13 @@ image: longhorn: engine: repository: longhornio/longhorn-engine - tag: v1.2.1-rc1 + tag: v1.2.1-rc2 manager: repository: longhornio/longhorn-manager - tag: v1.2.1-rc1 + tag: v1.2.1-rc2 ui: repository: longhornio/longhorn-ui - tag: v1.2.1-rc1 + tag: v1.2.1-rc2 instanceManager: repository: longhornio/longhorn-instance-manager tag: v1_20210731 diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 97cc62dea2..17377fee09 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,8 +4,8 @@ k8s.gcr.io/sig-storage/csi-resizer:v1.2.0 k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3 k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0 longhornio/backing-image-manager:v2_20210820 -longhornio/longhorn-engine:v1.2.1-rc1 +longhornio/longhorn-engine:v1.2.1-rc2 longhornio/longhorn-instance-manager:v1_20210731 -longhornio/longhorn-manager:v1.2.1-rc1 +longhornio/longhorn-manager:v1.2.1-rc2 longhornio/longhorn-share-manager:v1_20210914 -longhornio/longhorn-ui:v1.2.1-rc1 +longhornio/longhorn-ui:v1.2.1-rc2 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 4ebbde25f3..545712b7cc 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -984,7 +984,7 @@ spec: spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.2.1-rc1 + image: longhornio/longhorn-manager:v1.2.1-rc2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -993,7 +993,7 @@ spec: - -d - daemon - --engine-image - - longhornio/longhorn-engine:v1.2.1-rc1 + - longhornio/longhorn-engine:v1.2.1-rc2 - --instance-manager-image - longhornio/longhorn-instance-manager:v1_20210731 - --share-manager-image @@ -1001,7 +1001,7 @@ spec: - --backing-image-manager-image - longhornio/backing-image-manager:v2_20210820 - --manager-image - - longhornio/longhorn-manager:v1.2.1-rc1 + - longhornio/longhorn-manager:v1.2.1-rc2 - --service-account - longhorn-service-account ports: @@ -1101,7 +1101,7 @@ spec: spec: containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.2.1-rc1 + image: longhornio/longhorn-ui:v1.2.1-rc2 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 @@ -1157,18 +1157,18 @@ spec: spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.2.1-rc1 + image: longhornio/longhorn-manager:v1.2.1-rc2 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.2.1-rc1 + image: longhornio/longhorn-manager:v1.2.1-rc2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - longhornio/longhorn-manager:v1.2.1-rc1 + - longhornio/longhorn-manager:v1.2.1-rc2 - --manager-url - http://longhorn-backend:9500/v1 env: diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 88ece4d176..fbc2b41991 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -101,7 +101,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.2.1-rc1 + image: longhornio/longhorn-manager:v1.2.1-rc2 imagePullPolicy: Always securityContext: privileged: true From 2262652ef703a6356cd20f0ad72086fb86085357 Mon Sep 17 00:00:00 2001 From: David Ko Date: Tue, 5 Oct 2021 16:36:20 +0800 Subject: [PATCH 11/13] Release longhorn v1.2.1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 ++-- chart/questions.yml | 10 +++++----- chart/values.yaml | 6 +++--- deploy/longhorn-images.txt | 6 +++--- deploy/longhorn.yaml | 14 +++++++------- uninstall/uninstall.yaml | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index ba3977aca1..5338e8d0ab 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.2.1-rc2 -appVersion: v1.2.1-rc2 +version: 1.2.1 +appVersion: v1.2.1 kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yml b/chart/questions.yml index 8d43d164c9..85fce9d9b9 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.2.1-rc2 + default: v1.2.1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.2.1-rc2 + default: v1.2.1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.2.1-rc2 + default: v1.2.1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag @@ -398,7 +398,7 @@ Typically, Longhorn can block the replica starting once the current rebuilding c WARNING: - The old setting \"Disable Replica Rebuild\" is replaced by this setting. - Different from relying on replica starting delay to limit the concurrent rebuilding, if the rebuilding is disabled, replica object replenishment will be directly skipped. -- When the value is 0, the eviction and data locality feature won't work. But this shouldn't have any impact to any current replica rebuild and backup restore.", +- When the value is 0, the eviction and data locality feature won't work. But this shouldn't have any impact to any current replica rebuild and backup restore." group: "Longhorn Default Settings" type: int min: 0 @@ -450,7 +450,7 @@ WARNING: description: "This interval in seconds determines how long Longhorn will wait before re-downloading the backing image file when all disk files of this backing image become failed or unknown. WARNING: - This recovery only works for the backing image of which the creation type is \"download\". - - File state \"unknown\" means the related manager pods on the pod is not running or the node itself is down/disconnected.", + - File state \"unknown\" means the related manager pods on the pod is not running or the node itself is down/disconnected." group: "Longhorn Default Settings" type: int min: 0 diff --git a/chart/values.yaml b/chart/values.yaml index 725ffce7ef..4c90df1aca 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -9,13 +9,13 @@ image: longhorn: engine: repository: longhornio/longhorn-engine - tag: v1.2.1-rc2 + tag: v1.2.1 manager: repository: longhornio/longhorn-manager - tag: v1.2.1-rc2 + tag: v1.2.1 ui: repository: longhornio/longhorn-ui - tag: v1.2.1-rc2 + tag: v1.2.1 instanceManager: repository: longhornio/longhorn-instance-manager tag: v1_20210731 diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index 17377fee09..af2cfeb616 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,8 +4,8 @@ k8s.gcr.io/sig-storage/csi-resizer:v1.2.0 k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3 k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0 longhornio/backing-image-manager:v2_20210820 -longhornio/longhorn-engine:v1.2.1-rc2 +longhornio/longhorn-engine:v1.2.1 longhornio/longhorn-instance-manager:v1_20210731 -longhornio/longhorn-manager:v1.2.1-rc2 +longhornio/longhorn-manager:v1.2.1 longhornio/longhorn-share-manager:v1_20210914 -longhornio/longhorn-ui:v1.2.1-rc2 +longhornio/longhorn-ui:v1.2.1 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 545712b7cc..8866a6366a 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -984,7 +984,7 @@ spec: spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.2.1-rc2 + image: longhornio/longhorn-manager:v1.2.1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -993,7 +993,7 @@ spec: - -d - daemon - --engine-image - - longhornio/longhorn-engine:v1.2.1-rc2 + - longhornio/longhorn-engine:v1.2.1 - --instance-manager-image - longhornio/longhorn-instance-manager:v1_20210731 - --share-manager-image @@ -1001,7 +1001,7 @@ spec: - --backing-image-manager-image - longhornio/backing-image-manager:v2_20210820 - --manager-image - - longhornio/longhorn-manager:v1.2.1-rc2 + - longhornio/longhorn-manager:v1.2.1 - --service-account - longhorn-service-account ports: @@ -1101,7 +1101,7 @@ spec: spec: containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.2.1-rc2 + image: longhornio/longhorn-ui:v1.2.1 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 @@ -1157,18 +1157,18 @@ spec: spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.2.1-rc2 + image: longhornio/longhorn-manager:v1.2.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.2.1-rc2 + image: longhornio/longhorn-manager:v1.2.1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - longhornio/longhorn-manager:v1.2.1-rc2 + - longhornio/longhorn-manager:v1.2.1 - --manager-url - http://longhorn-backend:9500/v1 env: diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index fbc2b41991..18c50e09c4 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -101,7 +101,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.2.1-rc2 + image: longhornio/longhorn-manager:v1.2.1 imagePullPolicy: Always securityContext: privileged: true From 4494c54b3ac9d8b81800fc5e52e1a0384892460e Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 7 Oct 2021 14:07:05 +0800 Subject: [PATCH 12/13] Release 1.2.2-rc1 Signed-off-by: David Ko --- chart/Chart.yaml | 4 ++-- chart/questions.yml | 6 +++--- chart/values.yaml | 6 +++--- deploy/longhorn-images.txt | 6 +++--- deploy/longhorn.yaml | 14 +++++++------- uninstall/uninstall.yaml | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 5338e8d0ab..776f42217e 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.2.1 -appVersion: v1.2.1 +version: 1.2.2-rc1 +appVersion: v1.2.2-rc1 kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yml b/chart/questions.yml index 85fce9d9b9..fa438059ce 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.2.1 + default: v1.2.2-rc1 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.2.1 + default: v1.2.2-rc1 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.2.1 + default: v1.2.2-rc1 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index 4c90df1aca..af36a91bc0 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -9,13 +9,13 @@ image: longhorn: engine: repository: longhornio/longhorn-engine - tag: v1.2.1 + tag: v1.2.2-rc1 manager: repository: longhornio/longhorn-manager - tag: v1.2.1 + tag: v1.2.2-rc1 ui: repository: longhornio/longhorn-ui - tag: v1.2.1 + tag: v1.2.2-rc1 instanceManager: repository: longhornio/longhorn-instance-manager tag: v1_20210731 diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index af2cfeb616..b917ac2481 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,8 +4,8 @@ k8s.gcr.io/sig-storage/csi-resizer:v1.2.0 k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3 k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0 longhornio/backing-image-manager:v2_20210820 -longhornio/longhorn-engine:v1.2.1 +longhornio/longhorn-engine:v1.2.2-rc1 longhornio/longhorn-instance-manager:v1_20210731 -longhornio/longhorn-manager:v1.2.1 +longhornio/longhorn-manager:v1.2.2-rc1 longhornio/longhorn-share-manager:v1_20210914 -longhornio/longhorn-ui:v1.2.1 +longhornio/longhorn-ui:v1.2.2-rc1 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 8866a6366a..bdcc9ba718 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -984,7 +984,7 @@ spec: spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.2.1 + image: longhornio/longhorn-manager:v1.2.2-rc1 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -993,7 +993,7 @@ spec: - -d - daemon - --engine-image - - longhornio/longhorn-engine:v1.2.1 + - longhornio/longhorn-engine:v1.2.2-rc1 - --instance-manager-image - longhornio/longhorn-instance-manager:v1_20210731 - --share-manager-image @@ -1001,7 +1001,7 @@ spec: - --backing-image-manager-image - longhornio/backing-image-manager:v2_20210820 - --manager-image - - longhornio/longhorn-manager:v1.2.1 + - longhornio/longhorn-manager:v1.2.2-rc1 - --service-account - longhorn-service-account ports: @@ -1101,7 +1101,7 @@ spec: spec: containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.2.1 + image: longhornio/longhorn-ui:v1.2.2-rc1 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 @@ -1157,18 +1157,18 @@ spec: spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.2.1 + image: longhornio/longhorn-manager:v1.2.2-rc1 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.2.1 + image: longhornio/longhorn-manager:v1.2.2-rc1 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - longhornio/longhorn-manager:v1.2.1 + - longhornio/longhorn-manager:v1.2.2-rc1 - --manager-url - http://longhorn-backend:9500/v1 env: diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 18c50e09c4..4007bee161 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -101,7 +101,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.2.1 + image: longhornio/longhorn-manager:v1.2.2-rc1 imagePullPolicy: Always securityContext: privileged: true From 3749c3fe21ef2f433570cb9f2fac5d4585e33410 Mon Sep 17 00:00:00 2001 From: David Ko Date: Thu, 7 Oct 2021 19:32:25 +0800 Subject: [PATCH 13/13] Release 1.2.2 Signed-off-by: David Ko --- chart/Chart.yaml | 4 ++-- chart/questions.yml | 6 +++--- chart/values.yaml | 6 +++--- deploy/longhorn-images.txt | 6 +++--- deploy/longhorn.yaml | 14 +++++++------- uninstall/uninstall.yaml | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 776f42217e..465920edfa 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: longhorn -version: 1.2.2-rc1 -appVersion: v1.2.2-rc1 +version: 1.2.2 +appVersion: v1.2.2 kubeVersion: ">=1.18.0-0" description: Longhorn is a distributed block storage system for Kubernetes. keywords: diff --git a/chart/questions.yml b/chart/questions.yml index fa438059ce..ae34eba22f 100644 --- a/chart/questions.yml +++ b/chart/questions.yml @@ -17,7 +17,7 @@ questions: label: Longhorn Manager Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.manager.tag - default: v1.2.2-rc1 + default: v1.2.2 description: "Specify Longhorn Manager Image Tag" type: string label: Longhorn Manager Image Tag @@ -29,7 +29,7 @@ questions: label: Longhorn Engine Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.engine.tag - default: v1.2.2-rc1 + default: v1.2.2 description: "Specify Longhorn Engine Image Tag" type: string label: Longhorn Engine Image Tag @@ -41,7 +41,7 @@ questions: label: Longhorn UI Image Repository group: "Longhorn Images Settings" - variable: image.longhorn.ui.tag - default: v1.2.2-rc1 + default: v1.2.2 description: "Specify Longhorn UI Image Tag" type: string label: Longhorn UI Image Tag diff --git a/chart/values.yaml b/chart/values.yaml index af36a91bc0..d7a656ff75 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -9,13 +9,13 @@ image: longhorn: engine: repository: longhornio/longhorn-engine - tag: v1.2.2-rc1 + tag: v1.2.2 manager: repository: longhornio/longhorn-manager - tag: v1.2.2-rc1 + tag: v1.2.2 ui: repository: longhornio/longhorn-ui - tag: v1.2.2-rc1 + tag: v1.2.2 instanceManager: repository: longhornio/longhorn-instance-manager tag: v1_20210731 diff --git a/deploy/longhorn-images.txt b/deploy/longhorn-images.txt index b917ac2481..005c9cf42d 100644 --- a/deploy/longhorn-images.txt +++ b/deploy/longhorn-images.txt @@ -4,8 +4,8 @@ k8s.gcr.io/sig-storage/csi-resizer:v1.2.0 k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3 k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0 longhornio/backing-image-manager:v2_20210820 -longhornio/longhorn-engine:v1.2.2-rc1 +longhornio/longhorn-engine:v1.2.2 longhornio/longhorn-instance-manager:v1_20210731 -longhornio/longhorn-manager:v1.2.2-rc1 +longhornio/longhorn-manager:v1.2.2 longhornio/longhorn-share-manager:v1_20210914 -longhornio/longhorn-ui:v1.2.2-rc1 +longhornio/longhorn-ui:v1.2.2 diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index bdcc9ba718..709705d9a6 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -984,7 +984,7 @@ spec: spec: containers: - name: longhorn-manager - image: longhornio/longhorn-manager:v1.2.2-rc1 + image: longhornio/longhorn-manager:v1.2.2 imagePullPolicy: IfNotPresent securityContext: privileged: true @@ -993,7 +993,7 @@ spec: - -d - daemon - --engine-image - - longhornio/longhorn-engine:v1.2.2-rc1 + - longhornio/longhorn-engine:v1.2.2 - --instance-manager-image - longhornio/longhorn-instance-manager:v1_20210731 - --share-manager-image @@ -1001,7 +1001,7 @@ spec: - --backing-image-manager-image - longhornio/backing-image-manager:v2_20210820 - --manager-image - - longhornio/longhorn-manager:v1.2.2-rc1 + - longhornio/longhorn-manager:v1.2.2 - --service-account - longhorn-service-account ports: @@ -1101,7 +1101,7 @@ spec: spec: containers: - name: longhorn-ui - image: longhornio/longhorn-ui:v1.2.2-rc1 + image: longhornio/longhorn-ui:v1.2.2 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 @@ -1157,18 +1157,18 @@ spec: spec: initContainers: - name: wait-longhorn-manager - image: longhornio/longhorn-manager:v1.2.2-rc1 + image: longhornio/longhorn-manager:v1.2.2 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.2.2-rc1 + image: longhornio/longhorn-manager:v1.2.2 imagePullPolicy: IfNotPresent command: - longhorn-manager - -d - deploy-driver - --manager-image - - longhornio/longhorn-manager:v1.2.2-rc1 + - longhornio/longhorn-manager:v1.2.2 - --manager-url - http://longhorn-backend:9500/v1 env: diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index 4007bee161..ab41d1fc72 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -101,7 +101,7 @@ spec: spec: containers: - name: longhorn-uninstall - image: longhornio/longhorn-manager:v1.2.2-rc1 + image: longhornio/longhorn-manager:v1.2.2 imagePullPolicy: Always securityContext: privileged: true