共用方式為


ResourceLimits interface

This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted.

Properties

cpu

CPU limits in cores. At present, only full cores are supported.

memoryInGB

The memory limit in GB.

Property Details

cpu

CPU limits in cores. At present, only full cores are supported.

cpu?: number

Property Value

number

memoryInGB

The memory limit in GB.

memoryInGB?: number

Property Value

number