Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace MetricBasedVerticalScaleDownConfig

Configration for a metric based vertical scale-down policy.

Properties

Optional memoryStepSize

memoryStepSize: undefined | number

For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional metric

metric: model.AutoScalePolicyMetricRule

Optional minMemoryPerNode

minMemoryPerNode: undefined | number

For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional minOcpusPerNode

minOcpusPerNode: undefined | number

For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional ocpuStepSize

ocpuStepSize: undefined | number

For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj