Skip to content

Commit

Permalink
chore: update charts to add 2Gi as a minimum hugepages
Browse files Browse the repository at this point in the history
Rather than adding 1Gi extra just set 2Gi as the minimum.
  • Loading branch information
tiagolobocastro committed Feb 17, 2022
1 parent 2d7d0c4 commit df97525
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 df97525

Please sign in to comment.