Disk space issue on some zuul nodes
Containerd increases disk space usage on zuul nodes. This PS moves containerd's runtime folders to /opt/ Change-Id: I5079c83de5cb099890b674c6259965db880fad5f
This commit is contained in:
parent
840f697fd1
commit
ee05974362
|
@ -39,6 +39,16 @@ export DEBIAN_FRONTEND=noninteractive
|
|||
|
||||
sudo swapoff -a
|
||||
|
||||
# some nodes do not have much available space mounted to /
|
||||
# these nodes provide /opt with 80Gb space instead
|
||||
# in order to utilize this space we will move /var and /run to /opt
|
||||
mkdir -p /opt/run
|
||||
mkdir -p /opt/var
|
||||
mount --bound /opt/run /run
|
||||
mount --bound /opt/var /var
|
||||
df -h
|
||||
|
||||
|
||||
echo "DefaultLimitMEMLOCK=16384" | sudo tee -a /etc/systemd/system.conf
|
||||
sudo systemctl daemon-reexec
|
||||
|
||||
|
|
Loading…
Reference in New Issue