Commit 6a1a1ee8 authored by Alexandre Vincent's avatar Alexandre Vincent
Browse files

adjusting autoscale settings

parent c7763600
Pipeline #70233 failed with stages
in 76 minutes and 4 seconds
...@@ -28,7 +28,7 @@ spec: ...@@ -28,7 +28,7 @@ spec:
metrics: metrics:
- type: Resource - type: Resource
resource: resource:
name: cpu name: memory
target: target:
type: Utilization type: Utilization
averageUtilization: 50 averageUtilization: 50
...@@ -41,11 +41,11 @@ spec: ...@@ -41,11 +41,11 @@ spec:
periodSeconds: 30 periodSeconds: 30
scaleUp: scaleUp:
stabilizationWindowSeconds: 10 stabilizationWindowSeconds: 10
# Either add 50% of current pods or 4 pods (whichever is higher) every 10 seconds until the the HPA stabilizes # Either add 50% of current pods or 2 pods (whichever is higher) every 10 seconds until the the HPA stabilizes
selectPolicy: Max selectPolicy: Max
policies: policies:
- type: Pods - type: Pods
value: 6 value: 2
periodSeconds: 10 periodSeconds: 10
- type: Percent - type: Percent
value: 50 value: 50
......
...@@ -28,7 +28,7 @@ parameters: ...@@ -28,7 +28,7 @@ parameters:
# authenticationTemplateParameters: ${{ getImageTemplateParameters }} # authenticationTemplateParameters: ${{ getImageTemplateParameters }}
# preDeployTemplates: # preDeployTemplates:
# - template: ${{ my_template }} # - template: ${{ my_template }}
# parameters: ${{ my_template_parameters }} # parameters: ${{ my_template_params }}
# - ... # - ...
# getImageTemplate: ${{ authenticationTemplate }} # getImageTemplate: ${{ authenticationTemplate }}
# getImageTemplateParameters: ${{ authenticationTemplateParameter }} # getImageTemplateParameters: ${{ authenticationTemplateParameter }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment