Skip to content

List container limits

Request

Requires node-exec::read permission.

Security
JWTAuthorizer
Path
containerIDstringrequired

Container ID

clusterFQDNstringrequired

Node FQDN

curl -i -X GET \
  'https://apidocs.trustgrid.io/_mock/v2/cluster/{clusterFQDN}/exec/container/{containerID}/limit' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
cpuMaxnumber

CPU max

Example:80
ioRbpsnumber

IO read rate

Example:80
ioRiopsnumber

IO read IOPS

Example:80
ioWbpsnumber

IO write rate

Example:80
ioWiopsnumber

IO write IOPS

Example:80
legacyMemHighnumber

Legacy memory high

Example:80
legacyMemMaxnumber

Legacy memory max

Example:80
limitsArray of objects
memHighnumber

Memory high

Example:80
memMaxnumber

Memory max

Example:80
Response
{ "cpuMax": 80, "ioRbps": 80, "ioRiops": 80, "ioWbps": 80, "ioWiops": 80, "legacyMemHigh": 80, "legacyMemMax": 80, "limits": [ {} ], "memHigh": 80, "memMax": 80 }