Compare commits

..

No commits in common. "e1ac9e1078b0f13337ab7770556354d63069d722" and "25b7460b0417a91d77aead83f86fb0a406c6c4eb" have entirely different histories.

3 changed files with 14 additions and 30 deletions

View File

@ -1,12 +1,11 @@
apiVersion: postgresql.cnpg.io/v1 apiVersion: postgresql.cnpg.io/v1
kind: Cluster kind: Cluster
metadata: metadata:
name: immich-db name: gitea-db
namespace: immich namespace: gitea
spec: spec:
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0 instances: 2
instances: 3
storage: storage:
size: 1Gi size: 1Gi
@ -14,24 +13,16 @@ spec:
bootstrap: bootstrap:
recovery: recovery:
#source: immich-db source: gitea-db
backup:
name: immich-db-ondemand-backup-230425
postgresql: postgresql:
pg_hba: pg_hba:
- host all all all md5 - host all all all md5
shared_preload_libraries:
- "vectors.so"
parameters:
max_wal_size: "2GB"
shared_buffers: "512MB"
wal_compression: "on"
externalClusters: externalClusters:
- name: immich-db - name: gitea-db
barmanObjectStore: barmanObjectStore:
serverName: immich-db serverName: gitea-db
destinationPath: "s3://halis/cloudnativepg" destinationPath: "s3://halis/cloudnativepg"
endpointURL: https://s3.halia.dev endpointURL: https://s3.halia.dev
s3Credentials: s3Credentials:
@ -51,7 +42,7 @@ spec:
resources: resources:
requests: requests:
cpu: 100m cpu: 100m
memory: 512Mi memory: 100Mi
limits: limits:
cpu: "2" cpu: 500m
memory: 4Gi memory: 500Mi

View File

@ -6,7 +6,7 @@ metadata:
spec: spec:
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0 imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0
instances: 3 instances: 1
storage: storage:
size: 1Gi size: 1Gi
@ -56,8 +56,8 @@ spec:
cpu: 100m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: "2" cpu: 500m
memory: 4Gi memory: 1Gi
monitoring: monitoring:
enablePodMonitor: true enablePodMonitor: true

View File

@ -13,15 +13,8 @@ spec:
labels: labels:
app: immich app: immich
spec: spec:
affinity: hostname: immich
nodeAffinity: subdomain: immich
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "kubernetes.io/arch"
operator: In
values:
- "amd64"
containers: containers:
- name: immich-server - name: immich-server
image: ghcr.io/immich-app/immich-server:v1.131.3 image: ghcr.io/immich-app/immich-server:v1.131.3