Compare commits
2 Commits
25b7460b04
...
e1ac9e1078
Author | SHA1 | Date | |
---|---|---|---|
e1ac9e1078 | |||
a76dbdeaed |
@ -1,11 +1,12 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea-db
|
name: immich-db
|
||||||
namespace: gitea
|
namespace: immich
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
instances: 2
|
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0
|
||||||
|
instances: 3
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
@ -13,16 +14,24 @@ spec:
|
|||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
recovery:
|
recovery:
|
||||||
source: gitea-db
|
#source: immich-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: gitea-db
|
- name: immich-db
|
||||||
barmanObjectStore:
|
barmanObjectStore:
|
||||||
serverName: gitea-db
|
serverName: immich-db
|
||||||
destinationPath: "s3://halis/cloudnativepg"
|
destinationPath: "s3://halis/cloudnativepg"
|
||||||
endpointURL: https://s3.halia.dev
|
endpointURL: https://s3.halia.dev
|
||||||
s3Credentials:
|
s3Credentials:
|
||||||
@ -42,7 +51,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 100Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: "2"
|
||||||
memory: 500Mi
|
memory: 4Gi
|
||||||
|
@ -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: 1
|
instances: 3
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
@ -56,8 +56,8 @@ spec:
|
|||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: "2"
|
||||||
memory: 1Gi
|
memory: 4Gi
|
||||||
|
|
||||||
monitoring:
|
monitoring:
|
||||||
enablePodMonitor: true
|
enablePodMonitor: true
|
||||||
|
@ -13,8 +13,15 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: immich
|
app: immich
|
||||||
spec:
|
spec:
|
||||||
hostname: immich
|
affinity:
|
||||||
subdomain: immich
|
nodeAffinity:
|
||||||
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user