We can limit container's disk bandwidth when create it by using docker run --device-read-bps
. Actually I'm using kubernetes to create container. Want make every container in my node use only 50M/s disk bandwidth . Is there any way can configure docker daemon like docker run --device-read-bps
?
Kubernetes supports CPU and Memory limits, but as far as I know, it does not handle any disk quota or limits at this time.
In PersistentVolumes, you can specify StorageClass, but that only seems to imply slow or fast disk (i.e. HD or SSD..) and that does not have any bandwidth limitation.
So in short I do not think it is possible.