Skip to content

Commit

Permalink
added new parameter for storage node add on k8s (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 authored Dec 12, 2024
1 parent 89459d7 commit ca9a6a3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,12 @@ The following table lists the configurable parameters of the latest Simplyblock
| `storagenode.jmPercent` | the number in percent to use for JM from each device | `3` | |
| `storagenode.numPartitions` | the number of partitions to create per device | `0` | |
| `storagenode.numDevices` | the number of devices per storage node | `1` | |
| `storagenode.numDistribs` | the number of distribs per storage node | `2` | |
| `storagenode.iobufSmallPoolCount` | bdev_set_options param | `<empty>` | |
| `storagenode.iobufLargePoolCount` | bdev_set_options param | `<empty>` | |
| `storagenode.disableHAJM` | Disbable ha Journal Manager | `<empty>` | |
| `storagenode.disableHAJM` | Disable ha Journal Manager | `false` | |
| `storagenode.enableTestDevice` | Enable creation of test device | `false` | |
| `storagenode.dataNics` | Data interface names | `<empty>` | |


## troubleshooting
Expand Down
6 changes: 6 additions & 0 deletions charts/latest/spdk-csi/templates/storage-node-handler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ spec:
value: "{{ .Values.storagenode.numPartitions }}"
- name: NUMDEVICES
value: "{{ .Values.storagenode.numDevices }}"
- name: NUMDISTRIBS
value: "{{ .Values.storagenode.numDistribs }}"
- name: DISABLEHAJM
value: "{{ .Values.storagenode.disableHAJM }}"
- name: ENABLETESTDEVICE
value: "{{ .Values.storagenode.enableTestDevice }}"
- name: DATANICS
value: "{{ .Values.storagenode.dataNics }}"
- name: IOBUFSMALLPOOLCOUNT
value: "{{ .Values.storagenode.iobufSmallPoolCount }}"
- name: IOBUFLARGEPOOLCOUNT
Expand Down
3 changes: 3 additions & 0 deletions charts/latest/spdk-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ storagenode:
jmPercent: 3
numPartitions: 0
numDevices: 1
numDistribs: 2
disableHAJM: false
enableTestDevice: false
dataNics:
iobufSmallPoolCount:
iobufLargePoolCount:
daemonsets:
Expand Down

0 comments on commit ca9a6a3

Please sign in to comment.