diff --git a/helm/templates/agent.yaml b/helm/templates/agent.yaml index 87a4412d..9b51c132 100644 --- a/helm/templates/agent.yaml +++ b/helm/templates/agent.yaml @@ -143,6 +143,8 @@ spec: value: "true" - name: ISSUE_MESSAGE_FILE value: "true" + - name: MAX_VOLUMES_PERNODE + value: "{{ .Values.agent.max_volumes_pre_node }}" {{- if .Values.global.YodaSchedulerSvcIP }} - name: EXTENDER_SVC_IP value: "{{ .Values.global.YodaSchedulerSvcIP }}" diff --git a/helm/values-acka.yaml b/helm/values-acka.yaml index c0024178..1d9a006b 100644 --- a/helm/values-acka.yaml +++ b/helm/values-acka.yaml @@ -27,6 +27,7 @@ agent: volume_name_prefix: yoda spdk: false driverMode: node + max_volumes_pre_node: 256 extender: name: yoda-scheduler-extender # scheduling strategy: binpack/spread diff --git a/helm/values.yaml b/helm/values.yaml index 2af1ee8e..57db75dd 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -33,6 +33,7 @@ agent: # all: agent will start as csi controller and csi node # node: agent will start as csi node driverMode: node + max_volumes_pre_node: 256 extender: name: open-local-scheduler-extender # scheduling strategy: binpack/spread diff --git a/pkg/csi/type.go b/pkg/csi/type.go index 0ccc3246..f4615b41 100644 --- a/pkg/csi/type.go +++ b/pkg/csi/type.go @@ -56,7 +56,7 @@ const ( DirectTag = "direct" // StripingType striping type StripingType = "striping" - // MaxVolumesPerNode define max ebs one node + // MaxVolumesPerNode define max volumes one node MaxVolumesPerNode = 64 )