Commit 6a4a4bcf authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Fix wrong flag to etcd in kubemark

parent 2f756e4e
...@@ -81,7 +81,7 @@ if [ "${TEST_ETCD_VERSION:0:2}" == "3." ]; then ...@@ -81,7 +81,7 @@ if [ "${TEST_ETCD_VERSION:0:2}" == "3." ]; then
# TODO: Set larger quota to see if that helps with # TODO: Set larger quota to see if that helps with
# 'mvcc: database space exceeded' errors. If so, pipe # 'mvcc: database space exceeded' errors. If so, pipe
# though our setup scripts. # though our setup scripts.
ETCD_QUOTA_BYTES="--backend-quota-bytes=4294967296 " ETCD_QUOTA_BYTES="--quota-backend-bytes=4294967296 "
fi fi
if [ "${EVENT_STORE_IP}" == "127.0.0.1" ]; then if [ "${EVENT_STORE_IP}" == "127.0.0.1" ]; then
...@@ -102,7 +102,7 @@ retry sudo docker run --net=host \ ...@@ -102,7 +102,7 @@ retry sudo docker run --net=host \
--listen-peer-urls http://127.0.0.1:2380 \ --listen-peer-urls http://127.0.0.1:2380 \
--advertise-client-urls=http://127.0.0.1:2379 \ --advertise-client-urls=http://127.0.0.1:2379 \
--listen-client-urls=http://0.0.0.0:2379 \ --listen-client-urls=http://0.0.0.0:2379 \
--data-dir=/var/etcd/data 1>> /var/log/etcd.log 2>&1" --data-dir=/var/etcd/data ${ETCD_QUOTA_BYTES} 1>> /var/log/etcd.log 2>&1"
# Increase the allowed number of open file descriptors # Increase the allowed number of open file descriptors
ulimit -n 65536 ulimit -n 65536
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment