ceph-csi: pass --pidlimit option to provisioners
The Ceph-CSI provisioners can hit a resource limit that is configured by the container runtime (CRI-O restrict the number of processes/threads in a container to 1024 by default). When there are spikes in the provisioning, it is possible that the provisioners or helper executables are not able to start new child processes, causing delays in the volume creation or deletion. A new --pidlimit command flag has been introduced with ceph/ceph-csi#517 and can be used to prevent the resource restrictions. This makes it possible for the provisioners to stay responsive during spikes in the requests. The PID limit is configured to 'max' (value -1), but this can be adapted to a (large) static value if needed. See-also: https://github.com/ceph/ceph-csi/pull/517 Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
1 parent
86cccaa554
commit
5bf2d71ed8
3 files changed
+4
No files matched your search
@@ -55,6 +55,7 @@ spec:
|
||||
- "--v=5"
|
||||
- "--drivername=cephfs.csi.ceph.com"
|
||||
- "--metadatastorage=k8s_configmap"
|
||||
- "--pidlimit=-1"
|
||||
env:
|
||||
- name: NODE_ID
|
||||
valueFrom:
|
||||
|
||||
@@ -70,6 +70,7 @@ spec:
|
||||
- "--type=rbd"
|
||||
- "--drivername=rbd.csi.ceph.com"
|
||||
- "--containerized=true"
|
||||
- "--pidlimit=-1"
|
||||
env:
|
||||
- name: HOST_ROOTFS
|
||||
value: "/rootfs"
|
||||
|
||||
@@ -92,6 +92,7 @@ const (
|
||||
- "--drivername=rbd.csi.ceph.com"
|
||||
- "--containerized=true"
|
||||
- "--metadatastorage=k8s_configmap"
|
||||
- "--pidlimit=-1"
|
||||
env:
|
||||
- name: HOST_ROOTFS
|
||||
value: "/rootfs"
|
||||
@@ -321,6 +322,7 @@ const (
|
||||
- "--type=cephfs"
|
||||
- "--drivername=cephfs.csi.ceph.com"
|
||||
- "--metadatastorage=k8s_configmap"
|
||||
- "--pidlimit=-1"
|
||||
env:
|
||||
- name: NODE_ID
|
||||
valueFrom:
|
||||
|
||||
Reference in new issue
Block a user