From 7b8140ba2f52eb3a54796b35d7b0c03a0a5247ad Mon Sep 17 00:00:00 2001 From: David Ko Date: Fri, 17 Sep 2021 09:11:00 +0800 Subject: [PATCH] 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 d898eef..3ab6744 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 cb0510e..7e65380 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 9a6373a..455b5a1 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 75fe198..97cc62d 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 d6a3b13..4ebbde2 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 fd6a9e7..54ea704 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 98ec36b..88ece4d 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