From 44c1dcc4c97012409f3e35fcea6b15f1032adf38 Mon Sep 17 00:00:00 2001 From: "Kabanov, Dmitrii (dk370c)" Date: Fri, 21 Jun 2019 11:59:49 -0700 Subject: [PATCH] [etcd] Move etcd storage to tmpfs The PS allows to use tmpfs for etcd during the gates. There is an assumption that it will improve the performance and will allow to get rid of weird issues. Change-Id: Id68645b6535c9b1d87c133431b7cd6eb50fb030e --- tools/deployment/common/005-deploy-k8s.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/deployment/common/005-deploy-k8s.sh b/tools/deployment/common/005-deploy-k8s.sh index 783be71464..a227e45642 100755 --- a/tools/deployment/common/005-deploy-k8s.sh +++ b/tools/deployment/common/005-deploy-k8s.sh @@ -80,6 +80,10 @@ EOF configure_resolvconf +# Prepare tmpfs for etcd +sudo mkdir -p /data +sudo mount -t tmpfs -o size=512m tmpfs /data + # Install minikube and kubectl URL="https://storage.googleapis.com" sudo -E curl -sSLo /usr/local/bin/minikube \