From 0af78c23e6f15f152baa96cef3592cf73d72acdf Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 12 Jul 2024 11:28:29 +0200 Subject: [PATCH] Resize atuin volumes --- kubenix-modules/all.nix | 20 -------------------- kubenix-modules/volumes.nix | 12 ++++++------ 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/kubenix-modules/all.nix b/kubenix-modules/all.nix index fe91bc5..eb470c4 100644 --- a/kubenix-modules/all.nix +++ b/kubenix-modules/all.nix @@ -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 diff --git a/kubenix-modules/volumes.nix b/kubenix-modules/volumes.nix index 8f9952f..57ec8ac 100644 --- a/kubenix-modules/volumes.nix +++ b/kubenix-modules/volumes.nix @@ -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"; };