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

View File

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

View File

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