Skip to content

Commit

Permalink
hotfix: change scaling properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 committed Oct 4, 2024
1 parent 20bf082 commit 6f5781d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ops/k8s-apps/base/trino/trino.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
maxHeapSize: "70G"
resources:
requests:
cpu: 4000m
cpu: 15000m
memory: 71000Mi
tolerations:
- key: pool_type
Expand All @@ -90,15 +90,15 @@ spec:
workers: 1
autoscaling:
enabled: true
maxReplicas: 20
targetCPUUtilizationPercentage: 70
maxReplicas: 12
targetCPUUtilizationPercentage: 50
behavior:
scaleDown:
stabilizationWindowSeconds: 300
policies:
- type: Percent
value: 100
periodSeconds: 15
- type: Pods
value: 1
periodSeconds: 60
scaleUp:
stabilizationWindowSeconds: 0
policies:
Expand Down

0 comments on commit 6f5781d

Please sign in to comment.