From 26a7d59681acc3044a44c7469930718519b1df58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 13 Mar 2022 11:41:24 +0100 Subject: [PATCH] Add comment --- src/runboat/kubefiles/runboat-clone-and-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runboat/kubefiles/runboat-clone-and-install.sh b/src/runboat/kubefiles/runboat-clone-and-install.sh index a60da2b..d29f4d0 100755 --- a/src/runboat/kubefiles/runboat-clone-and-install.sh +++ b/src/runboat/kubefiles/runboat-clone-and-install.sh @@ -9,6 +9,8 @@ rm -fr /mnt/data/* # failed installation. rm -fr $ADDONS_DIR # Download the repository at git reference into $ADDONS_DIR. +# We use curl instead of git clone because the git clone method used more than 1GB RAM, +# which exceeded the default pod memory limit. mkdir -p $ADDONS_DIR cd $ADDONS_DIR curl -sSL https://github.com/${RUNBOAT_GIT_REPO}/tarball/${RUNBOAT_GIT_REF} | tar zxf - --strip-components=1