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
{
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 = [
./base.nix
./longhorn.nix

View file

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