File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 3535 } ;
3636
3737 services . k3s = k3sConfig // {
38- enable = false ; # TODO re-enable later once we sort disks out
38+ enable = true ;
3939 disable = [ "local-storage" ] ; # we are using Rook/Ceph instead
4040 tokenFile = config . sops . secrets . k3sToken . path ;
41-
42- # TODO do we need these?
43- # extraFlags = [
44- # "--etcd-arg --election-timeout=5000" # default is 1000ms
45- # "--etcd-arg --heartbeat-interval=500" # default is 100ms
46- # ];
4741 } ;
4842}
Original file line number Diff line number Diff line change 33 immichTag = "v2.5.2" ;
44 immichPostgresImage = "ghcr.io/tensorchord/cloudnative-vectorchord:18.1-1.0.0" ;
55 immichLibraryPvcName = "immich-library-pvc" ; # WARN: DO NOT CHANGE!!
6- immichLibraryPvcSize = "4Gi " ; # WARN: increase only; do not decrease!
7- immichPostgresDbSize = "4Gi " ; # WARN: increase only; do not decrease!
6+ immichLibraryPvcSize = "16Gi " ; # WARN: increase only; do not decrease!
7+ immichPostgresDbSize = "2Gi " ; # WARN: increase only; do not decrease!
88in
99{
1010 services . k3s = {
177177 createNamespace = true ;
178178 values = {
179179 # https://github.com/cloudnative-pg/charts/blob/main/charts/cluster/values.yaml
180- cluster . instances = 1 ;
180+ cluster . instances = 3 ;
181181 cluster . imageName = immichPostgresImage ;
182182 cluster . storage . size = immichPostgresDbSize ;
183183 cluster . storage . storageClass = "ceph-block" ;
You can’t perform that action at this time.
0 commit comments