Skip to content

Commit

Permalink
add helm config
Browse files Browse the repository at this point in the history
Signed-off-by: dongjiang1989 <[email protected]>
  • Loading branch information
dongjiang1989 committed Nov 30, 2023
1 parent cf1b7d1 commit befc465
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions helm/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
1 change: 1 addition & 0 deletions helm/values-acka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/csi/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit befc465

Please sign in to comment.