mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-21 06:46:42 +00:00
deploy: include -automaxprocs
to apply configured resource quota
When the Ceph-CSI provisioner/plugin is configured with CPU resource quota, the GOMAXPROCS environment variable should get set as well. Without the `-automaxprocs` commandline argument, it is possible that there are way too many threads started by the Go runtime. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
4db8b6222c
commit
d52dc2c4ba
@ -58,6 +58,7 @@ spec:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=cephfs"
|
||||
- "--nodeserver=true"
|
||||
- "--automaxprocs=true"
|
||||
- "--pidlimit=-1"
|
||||
{{- if .Values.nodeplugin.forcecephkernelclient }}
|
||||
- "--forcecephkernelclient={{ .Values.nodeplugin.forcecephkernelclient }}"
|
||||
|
@ -83,6 +83,7 @@ spec:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=cephfs"
|
||||
- "--controllerserver=true"
|
||||
- "--automaxprocs=true"
|
||||
- "--pidlimit=-1"
|
||||
- "--endpoint=$(CSI_ENDPOINT)"
|
||||
- "--v={{ .Values.logLevel }}"
|
||||
|
@ -60,6 +60,7 @@ spec:
|
||||
- "--stagingpath={{ .Values.kubeletDir }}/plugins/kubernetes.io/csi/"
|
||||
- "--type=rbd"
|
||||
- "--nodeserver=true"
|
||||
- "--automaxprocs=true"
|
||||
- "--pidlimit=-1"
|
||||
- "--endpoint=$(CSI_ENDPOINT)"
|
||||
- "--csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)"
|
||||
|
@ -83,6 +83,7 @@ spec:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=rbd"
|
||||
- "--controllerserver=true"
|
||||
- "--automaxprocs=true"
|
||||
- "--pidlimit=-1"
|
||||
- "--endpoint=$(CSI_ENDPOINT)"
|
||||
- "--csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user