immich-app / immich-charts

Helm chart implementation of Immich
https://immich.app
GNU Affero General Public License v3.0
107 stars 45 forks source link

Add resource limit to machine learning #30

Closed Y0ngg4n closed 1 year ago

Y0ngg4n commented 1 year ago

It would be nice to limit the resources of the machine learning pod as it can stress the node on which it is running immensely.

bo0tzz commented 1 year ago

I considered adding resource requests/limit when I was building the chart, but I decided against it as people have wildly different resource availability and so choosing a 'default' isn't feasible. You can easily add them yourself though:

machine-learning:
  resources:
    limits:
      cpu: 500m
      memory: 1Gi