-
Notifications
You must be signed in to change notification settings - Fork 15
quota
Dilshat edited this page Sep 10, 2018
·
7 revisions
Important: See Version 8 section below
quota [options] <container> <resource> -s <quota>
- sets resource quotas for Subutai containers
Options:
--set value, -s value set quota for the specified resource type (cpu, ram, disk)
Examples:
subutai quota container1 ram
subutai quota container1 cpuset -s 0-1
subutai quota container1 disk -s 3
Since agent version 8, format of quota command changed:
subutai quota get -c container1 -r cpu
subutai quota set -c container1 -r cpu 25
Description:
Quota command controls container's quotas and thresholds. Available resources:
- cpu, %
- ram, Mb
- disk, Gb
The clone operation, sets no quotas for new containers; quotas need to be configured with quota command after a clone operation.