diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-04 16:19:12 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-04 16:19:12 +0300 |
| commit | a5247123aa3c4898e8e104003ebf534fc7cc56b8 (patch) | |
| tree | e033f9388030b69c39c60297f5e647c9989f3580 /f3s/immich | |
| parent | 601f3c0453c56014956e02b580433ea9cca0acbb (diff) | |
feat(immich): add preferred anti-affinity and resources to balance load
Diffstat (limited to 'f3s/immich')
| -rw-r--r-- | f3s/immich/values.yaml | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/f3s/immich/values.yaml b/f3s/immich/values.yaml index 4063242..1354e84 100644 --- a/f3s/immich/values.yaml +++ b/f3s/immich/values.yaml @@ -19,9 +19,27 @@ immich: library: existingClaim: "immich-library-pvc" -# Server component with ingress +# Server component configuration server: enabled: true + resources: + requests: + cpu: 500m + memory: 512Mi + limits: + memory: 1Gi + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - machine-learning + topologyKey: "kubernetes.io/hostname" ingress: main: enabled: true @@ -38,9 +56,27 @@ server: identifier: main port: 2283 -# Machine Learning component with cache persistence +# Machine Learning component configuration machine-learning: enabled: true + resources: + requests: + cpu: 500m + memory: 512Mi + limits: + memory: 1Gi + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchExpressions: + - key: app.kubernetes.io/name + operator: In + values: + - server + topologyKey: "kubernetes.io/hostname" persistence: cache: enabled: true @@ -49,8 +85,7 @@ machine-learning: storageClass: "" existingClaim: "immich-ml-cache-pvc" -# PostgreSQL database configuration -# Note: You'll need to configure database connection via environment variables +# Global controller settings for main app controllers: main: containers: |
