Does kubernetes support docker IO limit?

704 views
Skip to first unread message

fang...@gmail.com

unread,
Apr 25, 2017, 2:52:09 AM4/25/17
to Kubernetes user discussion and Q&A
docker help run | grep -E 'bps|IO'
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
--blkio-weight value Block IO (relative weight), between 10 and 1000
--blkio-weight-device value Block IO weight (relative device weight) (default [])
--device-read-bps value Limit read rate (bytes per second) from a device (default [])
--device-read-iops value Limit read rate (IO per second) from a device (default [])
--device-write-bps value Limit write rate (bytes per second) to a device (default [])
--device-write-iops value Limit write rate (IO per second) to a device (default [])
--io-maxbandwidth string Maximum IO bandwidth limit for the system drive (Windows only)
--io-maxiops uint Maximum IOps limit for the system drive (Windows only)

Rodrigo Campos

unread,
Apr 25, 2017, 4:40:00 PM4/25/17
to kubernet...@googlegroups.com
On Mon, Apr 24, 2017 at 11:52:09PM -0700, fang...@gmail.com wrote:
> docker help run | grep -E 'bps|IO'

I don't know. So, sorry my mail is not super helpful in that regard.

But I don't care about it because when I want any pod to have storage, then I
use a volume (I've used mostly ELBs in AWS and emptyDir). So, basically, you can
select the storage you need for the pod (IOPS, etc. for the ELB) most of the
times and that will be enough. But most containers I have now, are not
stateful, so not that I messed with it a lot
Reply all
Reply to author
Forward
0 new messages