Move Radicale off Longhorn
This commit is contained in:
parent
d9a48c2b3e
commit
83cd881e54
2 changed files with 6 additions and 7 deletions
|
@ -87,7 +87,6 @@
|
||||||
|
|
||||||
lab = {
|
lab = {
|
||||||
longhorn.persistentVolume = {
|
longhorn.persistentVolume = {
|
||||||
radicale.storage = "200Mi";
|
|
||||||
atuin-db.storage = "300Mi";
|
atuin-db.storage = "300Mi";
|
||||||
nextcloud.storage = "50Gi";
|
nextcloud.storage = "50Gi";
|
||||||
nextcloud-db.storage = "400Mi";
|
nextcloud-db.storage = "400Mi";
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
metadata.labels.app = "radicale";
|
metadata.labels.app = "radicale";
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
|
nodeName = "jefke";
|
||||||
|
|
||||||
containers.radicale = {
|
containers.radicale = {
|
||||||
image = utils.mkNixNGImage "radicale";
|
image = utils.mkNixNGImage "radicale";
|
||||||
ports.web.containerPort = 5232;
|
ports.web.containerPort = 5232;
|
||||||
|
@ -38,7 +40,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
volumes.data.persistentVolumeClaim.claimName = "data";
|
volumes.data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/radicale";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -60,11 +65,6 @@
|
||||||
host = "radicale";
|
host = "radicale";
|
||||||
service.name = "server";
|
service.name = "server";
|
||||||
};
|
};
|
||||||
|
|
||||||
longhorn.persistentVolumeClaim.data = {
|
|
||||||
volumeName = "radicale";
|
|
||||||
storage = "200Mi";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue