mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
e2e: reduce worker threads during mock testing
We don't need much concurrency and having too many worker threads has one disadvantage (besides resource usage): when the sidecar looses the connection to the CSI driver, it calls klog.Fatal, which prints all gouroutines. This can lead to much output.
This commit is contained in:
parent
35c233f18d
commit
99248b1406
@ -24,6 +24,9 @@ spec:
|
|||||||
- "-v=5"
|
- "-v=5"
|
||||||
# Needed for fsGroup support.
|
# Needed for fsGroup support.
|
||||||
- "--default-fstype=ext4"
|
- "--default-fstype=ext4"
|
||||||
|
# We don't need much concurrency and having many gouroutines
|
||||||
|
# makes klog.Fatal during shutdown very long.
|
||||||
|
- "--worker-threads=5"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: /csi/csi.sock
|
value: /csi/csi.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user