place-labs / k8s-helm

Helm charts for PlaceOS on Kubernetes
0 stars 2 forks source link

Define requests & limits for all placeos services #68

Closed viv-4 closed 2 years ago

viv-4 commented 2 years ago

notes:

viv-4 commented 2 years ago

Currently monitoring following resource definitions on 3 node cluster - 2cpu 8gb nodes, api, auth, core, staff - 2 pods | elastic 2 data, 3 master pod cluster | rethinkdb 3 pod cluster lens metrics (prometheus etc.) deployed Fairly low driver usage cluster - More active cluster required more overall resources and higher request/limit values on api & core memory

third-party charts using their defaults except elastic-data:

requests:
  cpu: 25m
  memory: 1536Mi

These requests are suitable for dev/poc cluster with pod redundancy and low usage

viv-4 commented 2 years ago

Above committed to: https://github.com/place-labs/k8s-helm/commit/100eac454e567d2daa30ec0dfec26ca292505408 To be merged to master Prod values to go in new prod branch