Skip to content

Commit

Permalink
Make sure GOMAXPROCS and GOMEMLIMIT has a divisor set
Browse files Browse the repository at this point in the history
  • Loading branch information
halkeye authored Sep 8, 2024
1 parent 5ddb07b commit f00d16b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployments/kubernetes/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ spec:
valueFrom:
resourceFieldRef:
resource: limits.cpu
divisor: '1'
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
resource: limits.memory
divisor: '1'
ports:
- name: http
containerPort: 9090
Expand Down

0 comments on commit f00d16b

Please sign in to comment.