-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Support update container's device io limit #2509
Comments
I think we have supported all these update feature in the API side https://github.com/alibaba/pouch/blob/master/apis/swagger.yml#L2456-L2479:
But we have not make it supported in COMMAND LINE part. @zjumoon01 Could anyone help to finish this? @fengzixu 🐦 🦁 |
@allencloud Let's me make it happen |
Thanks a lot. So great to see you could try this. @houstar |
@allencloud sorry. I saw this issue just now. If the @houstar want to implement it, I can help him review his code. |
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
@fengzixu Done, Could you take a look ? thanks! / Cc @allencloud |
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
pouch cmd doesn't support. And runc doesn't neither. So we should make that in runc. I'm ready to make a PR to runc in this days. cc @houstar |
fixes AliyunContainerService#2509 Signed-off-by: Leno Hou <lenohou@gmail.com>
@zjumoon01 What's the progress on the runc side about the 'runc update` the cgroup blkio settings? 👍 |
I will push it in this week |
@houstar I have pushed the feature to project alibaba/runc. |
OK. If runc merged your PR, then I'll vendor this commit and test the integration |
@houstar alibaba/runc has supported this feature as mentioned above |
Why you need it?
We can set container's block device io limit by when it is created. Such as
There are 4 device io limit options, --device-read-bps/--device-write-bps/--device-read-iops/--device-write-iops. However, we can't update them by using "pouch update" command like other container resource. I will be useful to support update them.
How it could be?
It seems that container update API supports to update device io limit. But pouch update command doesn't.
So pouch update command could be added the four options. After that, we can update(also add and remove) container's device io limit.
Other related information
The text was updated successfully, but these errors were encountered: