helm: add option to enable read affinity for rbd

This commit adds --enable-read-affinity flag to
enable read affinity for rbd

Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
Praveen M
2023-09-07 09:44:08 +05:30
committed by mergify[bot]
parent 3c126fec98
commit 1b20fec20d
4 changed files with 18 additions and 1 deletions

View File

@ -279,6 +279,17 @@ topology:
- failure-domain/region
- failure-domain/zone
readAffinity:
# Enable read affinity for RBD volumes. Recommended to
# set to true if running kernel 5.8 or newer.
enabled: false
# Define which node labels to use as CRUSH location.
# This should correspond to the values set in the CRUSH map.
# NOTE: the value here serves as an example
crushLocationLabels:
- topology.kubernetes.io/region
- topology.kubernetes.io/zone
storageClass:
# Specifies whether the storageclass should be created
create: false