feat(kubevirt): cap journald disk usage on all VMs

This commit is contained in:
Ryan Yin committed 2026-09-20 22:22:50 +08:00
1 parent 68bea13405
commit fb522af5c0
3 files changed
+21

No files matched your search

+7
View File
@@ -54,6 +54,13 @@ in
linkConfig.RequiredForOnline = "routable";
};
# systemd-journal - reduce disk usage
# https://www.freedesktop.org/software/systemd/man/latest/journald.conf.html
services.journald.settings.Journal = {
SystemMaxUse = "2G";
RuntimeMaxUse = "256M";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave