From c165011a42d95c900e062c1cedab4afee4c87de8 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Wed, 17 Oct 2018 10:04:52 +0200 Subject: [PATCH] Move docker-registry storage to fs0-0 --- kube0.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kube0.nix b/kube0.nix index e73d605..aa3705c 100644 --- a/kube0.nix +++ b/kube0.nix @@ -45,6 +45,7 @@ let 10.253.18.106 fs0-0 fs0-0.local 10.1.2.164 fs0-1 fs0-1.local 10.253.18.100 fs0-2 fs0-2.local + 10.253.18.109 k1-0 ''; inherit certs; }; @@ -62,6 +63,10 @@ in device = "fs0-0:gv0"; fsType = "glusterfs"; }; + fileSystems."/var/lib/docker-registry" = { + device = "fs0-0:docker-registry"; + fsType = "nfs4"; + }; environment.systemPackages = [ pkgs.lvm2 ]; networking.extraHosts = '' 10.253.18.100 itp-registry itp-registry.local