mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
helm: add option to enable read affinity for CephFS
This commit adds --enable-read-affinity flag to enable read affinity for CephFS. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
@ -85,6 +85,10 @@ spec:
|
||||
- "--drivername=$(DRIVER_NAME)"
|
||||
{{- if .Values.nodeplugin.profiling.enabled }}
|
||||
- "--enableprofiling={{ .Values.nodeplugin.profiling.enabled }}"
|
||||
{{- end }}
|
||||
- "--enable-read-affinity={{ and .Values.readAffinity .Values.readAffinity.enabled }}"
|
||||
{{- if and .Values.readAffinity .Values.readAffinity.enabled }}
|
||||
- "--crush-location-labels={{ .Values.readAffinity.crushLocationLabels | join "," }}"
|
||||
{{- end }}
|
||||
env:
|
||||
- name: POD_IP
|
||||
|
Reference in New Issue
Block a user