Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ContainerResourceConfig

The resource configuration for a container. The resource configuration determines the amount of resources allocated to the container and the maximum allowed resources for a container.

Properties

Optional memoryLimitInGBs

memoryLimitInGBs: undefined | number

The maximum amount of memory that can be consumed by the container's process. If you do not set a value, then the process may use all available memory on the instance. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional vcpusLimit

vcpusLimit: undefined | number

The maximum amount of CPUs that can be consumed by the container's process.

If you do not set a value, then the process may use all available CPU resources on the container instance.

CPU usage is defined in terms of logical CPUs. This means that the maximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj