From 802558360bd3d3ac004fb876fbf232d8f20930e4 Mon Sep 17 00:00:00 2001 From: Geoffrey Israel Date: Mon, 21 Oct 2024 06:07:16 -0400 Subject: [PATCH] added option to disbable ha journal manager (#84) --- charts/README.md | 1 + charts/latest/spdk-csi/templates/storage-node-handler.yaml | 2 ++ charts/latest/spdk-csi/values.yaml | 1 + 3 files changed, 4 insertions(+) diff --git a/charts/README.md b/charts/README.md index 09c31a5..92229ca 100644 --- a/charts/README.md +++ b/charts/README.md @@ -142,6 +142,7 @@ The following table lists the configurable parameters of the latest Simplyblock | `storagenode.numDevices` | the number of devices per storage node | `1` | | | `storagenode.iobufSmallPoolCount` | bdev_set_options param | `` | | | `storagenode.iobufLargePoolCount` | bdev_set_options param | `` | | +| `storagenode.disableHAJM` | Disbable ha Journal Manager | `` | | ## troubleshooting diff --git a/charts/latest/spdk-csi/templates/storage-node-handler.yaml b/charts/latest/spdk-csi/templates/storage-node-handler.yaml index 85c3e18..7d4c4d9 100644 --- a/charts/latest/spdk-csi/templates/storage-node-handler.yaml +++ b/charts/latest/spdk-csi/templates/storage-node-handler.yaml @@ -53,6 +53,8 @@ spec: value: "{{ .Values.storagenode.numPartitions }}" - name: NUMDEVICES value: "{{ .Values.storagenode.numDevices }}" + - name: DISABLEHAJM + value: "{{ .Values.storagenode.disableHAJM }}" - name: IOBUFSMALLPOOLCOUNT value: "{{ .Values.storagenode.iobufSmallPoolCount }}" - name: IOBUFLARGEPOOLCOUNT diff --git a/charts/latest/spdk-csi/values.yaml b/charts/latest/spdk-csi/values.yaml index 16490a6..769521b 100644 --- a/charts/latest/spdk-csi/values.yaml +++ b/charts/latest/spdk-csi/values.yaml @@ -132,6 +132,7 @@ storagenode: jmPercent: 3 numPartitions: 0 numDevices: 1 + disableHAJM: false iobufSmallPoolCount: iobufLargePoolCount: daemonsets: