Skip to content

Commit

Permalink
Lower default hyades API server memory request and limit to 2Gi (#133)
Browse files Browse the repository at this point in the history
Due to various efficiency improvements we made in the recent past, API server instances no longer need as much memory. Also, increased memory requirements can now be addressed by spawning more replicas.

`requests.memory` and `limits.memory` are set to the same value, in order to lower the chances of pods getting `OOMKilled`. See https://xebia.com/blog/guide-kubernetes-jvm-integration/ for reference.

Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro authored Aug 9, 2024
1 parent e28e4dd commit 4173319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/hyades/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ apiServer:
resources:
requests:
cpu: "2"
memory: 4Gi
memory: 2Gi
limits:
cpu: "4"
memory: 8Gi
memory: 2Gi
extraEnv: []
extraEnvFrom: []
probes:
Expand Down

0 comments on commit 4173319

Please sign in to comment.