Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/117 Reviewed-by: Rustam Tagaev <rustam.tagaev@avroid.team> Co-authored-by: Denis Patrakeev <denis.patrakeev@avroid.team> Co-committed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
83 lines
3.4 KiB
YAML
83 lines
3.4 KiB
YAML
images:
|
|
# Images provided by Huawei
|
|
huaweiCSIService: harbor.avroid.tech/huawei_esdk_k8s_plugin/huawei-csi:4.6.0
|
|
storageBackendSidecar: harbor.avroid.tech/huawei_esdk_k8s_plugin/storage-backend-sidecar:4.6.0
|
|
storageBackendController: harbor.avroid.tech/huawei_esdk_k8s_plugin/storage-backend-controller:4.6.0
|
|
huaweiCSIExtender: harbor.avroid.tech/huawei_esdk_k8s_plugin/huawei-csi-extender:4.6.0
|
|
|
|
# CSI-related sidecar images provided by the Kubernetes community.
|
|
# These must match the appropriate Kubernetes version.
|
|
sidecar:
|
|
attacher: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/csi-attacher:v4.4.0
|
|
provisioner: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/csi-provisioner:v3.6.0
|
|
resizer: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/csi-resizer:v1.9.0
|
|
registrar: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/csi-node-driver-registrar:v2.9.0
|
|
livenessProbe: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/livenessprobe:v2.12.0
|
|
snapshotter: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/csi-snapshotter:v6.3.0
|
|
snapshotController: harbor.avroid.tech/registry-k8s-io-proxy/sig-storage/snapshot-controller:v6.3.0
|
|
|
|
# Namespace for installing huawei-csi-nodes and huawei-csi-controllers
|
|
kubernetes:
|
|
# the default value huawei-csi is recommended.
|
|
namespace: huawei-csi
|
|
|
|
controller:
|
|
# controllerCount: Define the number of huawei-csi controller
|
|
# Allowed values: n, where n > 0
|
|
# Default value: 1
|
|
# Recommended value: 2
|
|
controllerCount: 2
|
|
|
|
# volumeNamePrefix: Define a prefix that is prepended to volumes.
|
|
# THIS MUST BE ALL LOWER CASE.
|
|
# Default value: pvc
|
|
# Examples: "volumes", "vol"
|
|
volumeNamePrefix: pvc-san
|
|
|
|
# nodeSelector: Define node selection constraints for controller pods.
|
|
# For the pod to be eligible to run on a node, the node must have each
|
|
# of the indicated key-value pairs as labels.
|
|
# Leave as blank to consider all nodes
|
|
# Allowed values: map of key-value pairs
|
|
# Default value: None
|
|
nodeSelector:
|
|
node-role.kubernetes.io/worker: ""
|
|
|
|
node:
|
|
# nodeSelector: Define node selection constraints for node pods.
|
|
# For the pod to be eligible to run on a node, the node must have each
|
|
# of the indicated key-value pairs as labels.
|
|
# Leave as blank to consider all nodes
|
|
# Allowed values: map of key-value pairs
|
|
# Default value: None
|
|
nodeSelector:
|
|
node-role.kubernetes.io/worker: ""
|
|
|
|
# tolerations: Define tolerations that would be applied to node daemonset
|
|
# Add/Remove tolerations as per requirement
|
|
# Leave as blank if you wish to not apply any tolerations
|
|
# Allowed values: map of key-value pairs
|
|
# Default value: None
|
|
tolerations:
|
|
- key: "node.kubernetes.io/memory-pressure"
|
|
operator: "Exists"
|
|
effect: "NoExecute"
|
|
- key: "node.kubernetes.io/disk-pressure"
|
|
operator: "Exists"
|
|
effect: "NoExecute"
|
|
- key: "node.kubernetes.io/network-unavailable"
|
|
operator: "Exists"
|
|
effect: "NoExecute"
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
operator: "Exists"
|
|
effect: "NoSchedule"
|
|
|
|
# The CSI driver parameter configuration
|
|
csiDriver:
|
|
# Maximum number of concurrent disk scans or detaches, support 1~10
|
|
connectorThreads: 4
|
|
# Flag to enable or disable volume multipath access, support [true, false]
|
|
volumeUseMultipath: true
|
|
# Multipath software used by fc/iscsi. support [DM-multipath, HW-UltraPath, HW-UltraPath-NVMe]
|
|
scsiMultipathType: DM-multipath
|