diff --git a/ops/k8s-apps/base/trino/trino.yaml b/ops/k8s-apps/base/trino/trino.yaml index 314b2d40..21aad4d5 100644 --- a/ops/k8s-apps/base/trino/trino.yaml +++ b/ops/k8s-apps/base/trino/trino.yaml @@ -73,7 +73,7 @@ spec: maxHeapSize: "70G" resources: requests: - cpu: 4000m + cpu: 15000m memory: 71000Mi tolerations: - key: pool_type @@ -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: