Skip to content

Commit 399c964

Browse files
mayastor-borsAbhinandan-Purkait
mayastor-bors
andcommitted
chore(bors): merge pull request #592
592: feat(helm chart): add value to modify ps retries r=Abhinandan-Purkait a=Abhinandan-Purkait - Adds a helm value to modify the io-engine `ps-retries`. Co-authored-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
2 parents 3c9df22 + 2276fbb commit 399c964

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

chart/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ This removes all the Kubernetes components associated with the chart and deletes
176176
| io_engine.&ZeroWidthSpace;nvme.&ZeroWidthSpace;ioTimeout | Timeout for IOs The default here is exaggerated for local disks, but we've observed that in shared virtual environments having a higher timeout value is beneficial. Please adjust this according to your hardware and needs. | `"110s"` |
177177
| io_engine.&ZeroWidthSpace;nvme.&ZeroWidthSpace;tcp.&ZeroWidthSpace;maxQueueDepth | You may need to increase this for a higher outstanding IOs per volume | `"32"` |
178178
| io_engine.&ZeroWidthSpace;priorityClassName | Set PriorityClass, overrides global | `""` |
179+
| io_engine.&ZeroWidthSpace;pstorRetries | Number of retries for pstor persistence before the volume target self shutdowns | `300` |
179180
| io_engine.&ZeroWidthSpace;resources.&ZeroWidthSpace;limits.&ZeroWidthSpace;cpu | Cpu limits for the io-engine | `""` |
180181
| io_engine.&ZeroWidthSpace;resources.&ZeroWidthSpace;limits.&ZeroWidthSpace;hugepages2Mi | Hugepage size available on the nodes | `"2Gi"` |
181182
| io_engine.&ZeroWidthSpace;resources.&ZeroWidthSpace;limits.&ZeroWidthSpace;memory | Memory limits for the io-engine | `"1Gi"` |

chart/templates/mayastor/io/io-engine-daemonset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ spec:
111111
- "--reactor-freeze-detection"{{ end }}
112112
- "--tgt-crdt={{ .Values.io_engine.target.nvmf.hostCmdRetryDelay.crdt1 }}"{{ if .Values.eventing.enabled }}
113113
- "--events-url=nats://{{ .Release.Name }}-nats:4222"{{ end }}
114+
- "--ps-retries={{ default 300 .Values.io_engine.pstorRetries }}"
114115
command:
115116
- io-engine
116117
securityContext:

chart/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@ io_engine:
466466
priorityClassName: ""
467467
# -- Runtime class to use. Defaults to cluster standard
468468
runtimeClassName: ""
469+
# -- Number of retries for pstor persistence before the volume target self shutdowns
470+
pstorRetries: 300
469471

470472
etcd:
471473
# -- Disable when using an external etcd cluster.

0 commit comments

Comments
 (0)