From 230dd67752fd2f70dae1b64ce8b73064fbe45882 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 28 Jul 2020 13:40:43 +0200 Subject: [PATCH] ci: increase memory in the minikube VM While testing with tehj default 3000 MB RAM in the minikube VM, creating a encrypted RBD volume fails because 'cryptsetup' gets killed: [ 766.072585] Out of memory: Kill process 18497 (cryptsetup) score 1182 or sacrifice child [ 766.072589] Killed process 18497 (cryptsetup) total-vm:863136kB, anon-rss:510336kB, file-rss:10788kB, shmem-rss:0kB [ 766.072688] oom_reaper: reaped process 18497 (cryptsetup), now anon-rss:510336kB, file-rss:10780kB, shmem-rss:0kB Using 4 GB RAM should prevent this from occuring. Signed-off-by: Niels de Vos --- scripts/minikube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/minikube.sh b/scripts/minikube.sh index c77dbb174..57bcf02fd 100755 --- a/scripts/minikube.sh +++ b/scripts/minikube.sh @@ -92,7 +92,7 @@ function disable_storage_addons() { MINIKUBE_ARCH=${MINIKUBE_ARCH:-"amd64"} MINIKUBE_VERSION=${MINIKUBE_VERSION:-"latest"} KUBE_VERSION=${KUBE_VERSION:-"v1.14.10"} -MEMORY=${MEMORY:-"3000"} +MEMORY=${MEMORY:-"4096"} VM_DRIVER=${VM_DRIVER:-"virtualbox"} #configure image repo CEPHCSI_IMAGE_REPO=${CEPHCSI_IMAGE_REPO:-"quay.io/cephcsi"}