Resize atuin volumes

This commit is contained in:
Pim Kunis 2024-07-12 11:28:29 +02:00
parent 8091664f11
commit 0af78c23e6
2 changed files with 6 additions and 26 deletions

View file

@ -24,26 +24,6 @@ let
]; ];
in in
{ {
kubernetes.resources.pods.testje.spec = {
containers.redis = {
image = "nix:0/nix/store/5nmh9qawhbwinzxidafjlfw68wfkh0pj-nix-image-redis.tar";
args = [ "--protected-mode" "no" ];
ports = [{
name = "redis";
containerPort = 6379;
}];
};
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [{
matchExpressions = [{
key = "kubernetes.io/hostname";
operator = "In";
values = [ "atlas" ];
}];
}];
};
imports = [ imports = [
./base.nix ./base.nix
./longhorn.nix ./longhorn.nix

View file

@ -5,13 +5,13 @@
# volumeMounts = [ # volumeMounts = [
# { name = "immich"; mountPath = "/immich"; } # { name = "atuin"; mountPath = "/atuin"; }
# { name = "immich-db"; mountPath = "/immich-db"; } # { name = "atuin-db"; mountPath = "/atuin-db"; }
# ]; # ];
# }; # };
# volumes.immich.persistentVolumeClaim.claimName = "immich"; # volumes.atuin.persistentVolumeClaim.claimName = "atuin";
# volumes.immich-db.persistentVolumeClaim.claimName = "immich-db"; # volumes.atuin-db.persistentVolumeClaim.claimName = "atuin-db";
# }; # };
lab = { lab = {
@ -40,8 +40,8 @@
bazarr.storage = "25Mi"; bazarr.storage = "25Mi";
attic.storage = "15Gi"; attic.storage = "15Gi";
attic-db.storage = "150Mi"; attic-db.storage = "150Mi";
atuin.storage = "600Mi"; atuin.storage = "300Mi";
atuin-db.storage = "100Mi"; atuin-db.storage = "300Mi";
immich.storage = "50Gi"; immich.storage = "50Gi";
immich-db.storage = "5Gi"; immich-db.storage = "5Gi";
}; };