Skip to content

Commit

Permalink
Release v1.2.2
Browse files Browse the repository at this point in the history
Release v1.2.2
  • Loading branch information
innobead authored Oct 8, 2021
2 parents e98b099 + b6b6e48 commit 6fbd276
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 20 deletions.
4 changes: 2 additions & 2 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: longhorn
version: 1.2.0
appVersion: v1.2.0
version: 1.2.2
appVersion: v1.2.2
kubeVersion: ">=1.18.0-0"
description: Longhorn is a distributed block storage system for Kubernetes.
keywords:
Expand Down
28 changes: 25 additions & 3 deletions chart/questions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
description: "Specify Longhorn Manager Image Tag"
type: string
label: Longhorn Manager Image Tag
Expand All @@ -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.2
description: "Specify Longhorn Engine Image Tag"
type: string
label: Longhorn Engine Image Tag
Expand All @@ -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.2
description: "Specify Longhorn UI Image Tag"
type: string
label: Longhorn UI Image Tag
Expand Down Expand Up @@ -391,6 +391,18 @@ 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.
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: 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."
Expand Down Expand Up @@ -433,6 +445,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.
Expand Down
2 changes: 2 additions & 0 deletions chart/templates/default-setting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ 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 }}
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 }}
8 changes: 5 additions & 3 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ image:
longhorn:
engine:
repository: longhornio/longhorn-engine
tag: v1.2.0
tag: v1.2.2
manager:
repository: longhornio/longhorn-manager
tag: v1.2.0
tag: v1.2.2
ui:
repository: longhornio/longhorn-ui
tag: v1.2.0
tag: v1.2.2
instanceManager:
repository: longhornio/longhorn-instance-manager
tag: v1_20210731
Expand Down Expand Up @@ -100,12 +100,14 @@ defaultSettings:
mkfsExt4Parameters: ~
disableReplicaRebuild: ~
replicaReplenishmentWaitInterval: ~
concurrentReplicaRebuildPerNodeLimit: ~
disableRevisionCounter: ~
systemManagedPodsImagePullPolicy: ~
allowVolumeCreationWithDegradedAvailability: ~
autoCleanupSystemGeneratedSnapshot: ~
concurrentAutomaticEngineUpgradePerNodeLimit: ~
backingImageCleanupWaitInterval: ~
backingImageRecoveryWaitInterval: ~
guaranteedEngineManagerCPU: ~
guaranteedReplicaManagerCPU: ~
privateRegistry:
Expand Down
6 changes: 3 additions & 3 deletions deploy/longhorn-images.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
longhornio/longhorn-instance-manager:v1_20210731
longhornio/longhorn-manager:v1.2.0
longhornio/longhorn-manager:v1.2.2
longhornio/longhorn-share-manager:v1_20210914
longhornio/longhorn-ui:v1.2.0
longhornio/longhorn-ui:v1.2.2
17 changes: 10 additions & 7 deletions deploy/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
---
Expand Down Expand Up @@ -951,6 +953,7 @@ data:
reclaimPolicy: Delete
volumeBindingMode: Immediate
parameters:
fsType: "ext4"
numberOfReplicas: "3"
staleReplicaTimeout: "2880"
fromBackup: ""
Expand Down Expand Up @@ -982,7 +985,7 @@ spec:
spec:
containers:
- name: longhorn-manager
image: longhornio/longhorn-manager:v1.2.0
image: longhornio/longhorn-manager:v1.2.2
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
Expand All @@ -991,15 +994,15 @@ spec:
- -d
- daemon
- --engine-image
- longhornio/longhorn-engine:v1.2.0
- longhornio/longhorn-engine:v1.2.2
- --instance-manager-image
- longhornio/longhorn-instance-manager:v1_20210731
- --share-manager-image
- longhornio/longhorn-share-manager:v1_20210914
- --backing-image-manager-image
- longhornio/backing-image-manager:v2_20210820
- --manager-image
- longhornio/longhorn-manager:v1.2.0
- longhornio/longhorn-manager:v1.2.2
- --service-account
- longhorn-service-account
ports:
Expand Down Expand Up @@ -1099,7 +1102,7 @@ spec:
spec:
containers:
- name: longhorn-ui
image: longhornio/longhorn-ui:v1.2.0
image: longhornio/longhorn-ui:v1.2.2
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -1155,18 +1158,18 @@ spec:
spec:
initContainers:
- name: wait-longhorn-manager
image: longhornio/longhorn-manager:v1.2.0
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.0
image: longhornio/longhorn-manager:v1.2.2
imagePullPolicy: IfNotPresent
command:
- longhorn-manager
- -d
- deploy-driver
- --manager-image
- longhornio/longhorn-manager:v1.2.0
- longhornio/longhorn-manager:v1.2.2
- --manager-url
- http://longhorn-backend:9500/v1
env:
Expand Down
2 changes: 1 addition & 1 deletion scripts/lhexec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ check_engine_state(){
echo "Err: Longhorn engine for volume ${VOLUME_NAME} is not running"
exit 1
fi

}

exec_command() {
Expand Down
2 changes: 1 addition & 1 deletion uninstall/uninstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
spec:
containers:
- name: longhorn-uninstall
image: longhornio/longhorn-manager:v1.2.0
image: longhornio/longhorn-manager:v1.2.2
imagePullPolicy: Always
securityContext:
privileged: true
Expand Down

0 comments on commit 6fbd276

Please sign in to comment.