Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following screenshot illustrates the autoscaling parameters for webrunner microservice.

# Autoscaling[HPA] Values for Webrunner can be defined here
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 1
targetCPUUtilizationPercentage: 400
targetMemoryUtilizationPercentage: 400
behavior: 
scaleUp:
stabilizationWindowSeconds: 300
maxPodToScaleUp: 1
periodSeconds: 60
scaleDown:
stabilizationWindowSeconds: 300
maxPodToScaleDown: 1
periodSeconds: 60

ParameterDescription
enabledParameter to enable HPA by setting its value to true.
minReplicasMinimum number of pods for a microservice.
maxReplicasThe maximum number of pods a microservice can scale up to.
targetCPUUtilizationPercentageThe percentage value of CPU utilization at which the autoscaler spins up a new pod.
targetmemoryUtilizationPercentageThe percentage value of memory utilization at which the autoscaler spins up a new pod.

...

The following screenshot illustrates the autoscaling parameters for runtime microservice.

RUNTIME_AUTOSCALING_ENABLED: true
RUNTIME_MIN_POD: 1
RUNTIME_MAX_POD: 1
RUNTIME_AUTOSCALING_TARGETCPUUTILIZATIONPERCENTAGE: 400
RUNTIME_AUTOSCALING_TARGETMEMORYUTILIZATIONPERCENTAGE: 400
RUNTIME_SCALE_UP_STABILIZATION_WINDOW_SECONDS: 300
RUNTIME_MAX_POD_TO_SCALE_UP: 1
RUNTIME_SCALE_UP_PERIOD_SECONDS: 60
RUNTIME_SCALE_DOWN_STABILIZATION_WINDOW_SECONDS: 300
RUNTIME_MAX_POD_TO_SCALE_DOWN: 1
RUNTIME_SCALE_DOWN_PERIOD_SECONDS: 60