node Longhorn node Longhorn node Pod Engine manager pod Pod Replica Manager Pod Replica Manager Pod Engine Process Replica Process Engine Process Replica Process Ext4/xfs Ext4/xfs Replica Process Ext4/xfs Replica Process Ext4/xfs PVC/PV Volume PVC/PV Volume Longhorn Manager (DS) Longhorn Manager (DS) Longhorn Manager (DS)
node Longhorn node Longhorn node Pod Engine manager pod Pod Replica Manager Pod Replica Manager Pod Engine Process Replica Process Engine Process Replica Process Ext4/xfs Ext4/xfs Replica Process Ext4/xfs Replica Process Ext4/xfs PVC/PV Volume PVC/PV Volume Longhorn Manager (DS) Longhorn Manager (DS) Longhorn Manager (DS) msg="Prepare to delete instance pvc-c2a86740- 04cb-4982-9d41- f86e07570d5e-r-cd767c21"
ディスク上のDataはまだ利用可能 • 新しいプロセスを作成 • 差分だけコピー • dead -> online Longhorn node Replica Manager Pod Replica Process Replica Process Ext4/xfs Ext4/xfs Longhorn Manager (DS) Worker node Pod Engine manager pod Pod Engine Process Engine Process PVC/PV Volume PVC/PV Volume Longhorn Manager (DS) Replica Process
replica-replenishment-wait-interval (600s) 後でも回復不可 • 新しいプロセスを作成 • 健康状態のレプリカからフルコピー • dead -> online Longhorn node Replica Manager Pod Replica Process Replica Process Ext4/xfs Ext4/xfs Longhorn Manager (DS) Worker node Pod Engine manager pod Pod Engine Process Engine Process PVC/PV Volume PVC/PV Volume Longhorn Manager (DS) Replica Process Ext4/xfs
• #1815 - [FEATURE] Support CSI volume cloning • Cloning support for the longhorn CSI driver • #1859 Volume Encryption / #902 backup encryption • #587 automatic rebalance the replicas • automatically check if a new replica can be scheduled on the new node to restore the redundancy. • #2206 Enhance Longhorn data plane on low performance enviroment
• #2964 [BUG] Longhorn 1.2.0 - wrong volume permissions inside container / broken fsGroup • Issue: Will get a Permission denied when access the folder. • WA: Add a --default-fstype=ext4 to the csi-provisioner container • Will be fixed in v1.2.1, which is scheduled to be released at September 24, 2021 ... containers: - args: - --v=2 - --csi-address=$(ADDRESS) - --timeout=1m50s - --leader-election - --leader-election-namespace=$(POD_NAMESPACE) - --default-fstype=ext4 env: ...