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 Oct 16, 2024
1 parent d558436 commit 493b04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/chart/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ spec:
- --extra-create-metadata=true
- --default-fstype=ext4
- --v=5
- --kube-api-qps=10
- --kube-api-burst=20
- --kube-api-qps=25
- --kube-api-burst=50
volumeMounts:
- name: disk-provisioner-dir
mountPath: /csi
Expand Down

0 comments on commit 493b04f

Please sign in to comment.