Skip to content

Commit

Permalink
chore(bors): merge pull request #592
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mayastor-bors and Abhinandan-Purkait committed Dec 18, 2024
2 parents 3c9df22 + 2276fbb commit 2cbee19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ This removes all the Kubernetes components associated with the chart and deletes
| 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"` |
| io_engine.&ZeroWidthSpace;nvme.&ZeroWidthSpace;tcp.&ZeroWidthSpace;maxQueueDepth | You may need to increase this for a higher outstanding IOs per volume | `"32"` |
| io_engine.&ZeroWidthSpace;priorityClassName | Set PriorityClass, overrides global | `""` |
| io_engine.&ZeroWidthSpace;pstorRetries | Number of retries for pstor persistence before the volume target self shutdowns | `300` |
| io_engine.&ZeroWidthSpace;resources.&ZeroWidthSpace;limits.&ZeroWidthSpace;cpu | Cpu limits for the io-engine | `""` |
| io_engine.&ZeroWidthSpace;resources.&ZeroWidthSpace;limits.&ZeroWidthSpace;hugepages2Mi | Hugepage size available on the nodes | `"2Gi"` |
| io_engine.&ZeroWidthSpace;resources.&ZeroWidthSpace;limits.&ZeroWidthSpace;memory | Memory limits for the io-engine | `"1Gi"` |
Expand Down
1 change: 1 addition & 0 deletions chart/templates/mayastor/io/io-engine-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ spec:
- "--reactor-freeze-detection"{{ end }}
- "--tgt-crdt={{ .Values.io_engine.target.nvmf.hostCmdRetryDelay.crdt1 }}"{{ if .Values.eventing.enabled }}
- "--events-url=nats://{{ .Release.Name }}-nats:4222"{{ end }}
- "--ps-retries={{ default 300 .Values.io_engine.pstorRetries }}"
command:
- io-engine
securityContext:
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,8 @@ io_engine:
priorityClassName: ""
# -- Runtime class to use. Defaults to cluster standard
runtimeClassName: ""
# -- Number of retries for pstor persistence before the volume target self shutdowns
pstorRetries: 300

etcd:
# -- Disable when using an external etcd cluster.
Expand Down

0 comments on commit 2cbee19

Please sign in to comment.