Skip to content

Commit

Permalink
deploy: tune external-disk-provisioner flow control
Browse files Browse the repository at this point in the history
We should consider the default quota of ECS OpenAPI.
The current quota for CreateDisk/DeleteDisk is 500/60s. Each cycle needs 3 API call:
create:
- create PV
delete:
- delete PV
- patch PV finalizer

We set the qps of csi-attacher to 25 to support 500/60s create+delete operations. This is 5x of the default config.
  • Loading branch information
huww98 committed Sep 12, 2024
1 parent e9d8088 commit bcbb91f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions deploy/chart/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,17 @@ spec:
cpu: 500m
memory: 1024Mi
args:
- "--csi-address=/csi/csi.sock"
- "--volume-name-prefix=disk"
- "--strict-topology=true"
- "--timeout=150s"
- "--leader-election=true"
- "--retry-interval-start=500ms"
- "--extra-create-metadata=true"
- "--default-fstype=ext4"
- "--v=5"
- --csi-address=/csi/csi.sock
- --volume-name-prefix=disk
- --strict-topology=true
- --timeout=150s
- --leader-election=true
- --retry-interval-start=500ms
- --extra-create-metadata=true
- --default-fstype=ext4
- --v=5
- --kube-api-qps=25
- --kube-api-burst=50
volumeMounts:
- name: disk-provisioner-dir
mountPath: /csi
Expand Down

0 comments on commit bcbb91f

Please sign in to comment.