Skip to content

Commit

Permalink
Merge openebs#1101
Browse files Browse the repository at this point in the history
1101: chore: update charts to add 2Gi as a minimum hugepages r=tiagolobocastro a=tiagolobocastro

Rather than adding 1Gi extra just set 2Gi as the minimum.

Co-authored-by: Tiago Castro <[email protected]>
  • Loading branch information
mayastor-bors and tiagolobocastro committed Feb 17, 2022
2 parents 2d7d0c4 + df97525 commit f4a2475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/templates/mayastor-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ spec:
limits:
cpu: "{{ .Values.mayastorCpuCount }}"
memory: "1Gi"
hugepages-2Mi: "{{ add .Values.mayastorHugePagesGiB 1 }}Gi"
hugepages-2Mi: "{{ max .Values.mayastorHugePagesGiB 2 }}Gi"
requests:
cpu: "{{ .Values.mayastorCpuCount }}"
memory: "1Gi"
hugepages-2Mi: "{{ add .Values.mayastorHugePagesGiB 1 }}Gi"
hugepages-2Mi: "{{ max .Values.mayastorHugePagesGiB 2 }}Gi"
ports:
- containerPort: 10124
protocol: TCP
Expand Down

0 comments on commit f4a2475

Please sign in to comment.