lbcli create qos-policy (2.3.16 and above)

Creates a new Quality of Service (QoS) policy.

Synopsis

Creates a new QoS policy.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--descriptionstringPolicy description.
--help-hboolHelp for qos-policy.
--namestringPolicy name (required).
--globalboolIndicates that this policy is global.
--projectsstringSlice

Specify the projects that can have access to this policy.

Note: Either specify the policy as Global (global=true), or explicitly name specific projects that can use this policy.

--read-limituint32

Specify the rate limit for read operations.

The units of this field are defined by the rate limit Type field.

Note: A 0 value encodes unlimited.

--typestring

Limit type (iops, bw, ips-per-gb) (Required).

  • iops: Volume read and write bandwidth limits, specified in units of IOPs. The granularity increases by 256 IOPs each time. For example, 400 IOPs would be rounded up to 512 IOPs. Note that the IOPs limit assumes a 4 KB block size for rate calculations.
  • bw: Volume read and write bandwidth limits, specified in units of MB/s. The granularity must be in full MB/s.
  • iops-per-gb: Volume read and write bandwidth, specified in limits in IOPs per GB of volume size. For example, if we configure 100 units, and the volume size is 10 GB, then the actual limit will be 1000 IOPs/second. Note that the volume size will be rounded down if it is not a whole GB.
--wriuint32

Specify the rate limit for write operations.

The units of this field are defined by the rate limit Type field.

Note: A 0 value encodes unlimited.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard