Skip to content

Commit

Permalink
Make some infra tweaks for trino (#2294)
Browse files Browse the repository at this point in the history
Make some infra tweaks
  • Loading branch information
ravenac95 authored Oct 2, 2024
1 parent 23a8319 commit a43d169
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ops/k8s-apps/base/trino/trino.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ spec:
query:
maxMemoryPerNode: 15GB
jvm:
maxHeapSize: "40G"
maxHeapSize: "70G"
resources:
requests:
cpu: 2000m
memory: 40960Mi
cpu: 4000m
memory: 71000Mi
tolerations:
- key: pool_type
operator: Equal
Expand All @@ -77,7 +77,7 @@ spec:
workers: 2
autoscaling:
enabled: true
maxReplicas: 100
maxReplicas: 20
targetCPUUtilizationPercentage: 70
behavior:
scaleDown:
Expand Down
2 changes: 1 addition & 1 deletion ops/tf-modules/warehouse-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ locals {
# Trino worker pool
{
name = "${var.cluster_name}-trino-worker-node-pool"
machine_type = "n1-highmem-8"
machine_type = "n1-highmem-16"
node_locations = join(",", var.cluster_zones)
min_count = 0
max_count = 10
Expand Down

0 comments on commit a43d169

Please sign in to comment.