nais / bifrost

Portal for managing Frontend Platform resources
MIT License
0 stars 0 forks source link

Adjust CPU and memory for Unleash instances #65

Open Starefossen opened 1 year ago

Starefossen commented 1 year ago

Currently they are created without resources which gives each container default resources that is a little bit too much.

    Limits:
      cpu:                500m
      ephemeral-storage:  1Gi
      memory:             2Gi
    Requests:
      cpu:                500m
      ephemeral-storage:  1Gi
      memory:             2Gi

Can VerticalPodAutoscaler be used here? https://cloud.google.com/kubernetes-engine/docs/concepts/verticalpodautoscaler

Starefossen commented 1 year ago

We are currently missing cAdvisor metrics in management cluster which makes it a little bit harder to see the current usage per container. We have pod level metrics ref. https://stackoverflow.com/questions/67595875/prometheus-on-gke-autopilot

Starefossen commented 1 year ago

Added Vertical Pod Autoscaler to automatically adjust cpu and memory.