Skip to content

Commit

Permalink
sriov provider, run etcd in memory
Browse files Browse the repository at this point in the history
Currently we encounter bad performance of etcd on
sriov provider cluster on DinD setup.
We get 'etcdserver: timeout errors' that causes jobs to
fail often.

In such cases it is recommanded [1] to use in-memory etcd
Running etcd in memory should improve performance and
will make sriov provider more stabilized.

[1] kubernetes-sigs/kind#1922

Signed-off-by: Or Mergi <[email protected]>
  • Loading branch information
ormergi committed Nov 20, 2020
1 parent 75312b8 commit b869c81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster-up/cluster/kind-k8s-sriov-1.17.0/provider.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -e
export CLUSTER_NAME="sriov"
export KIND_NODE_IMAGE="kindest/node:v1.17.0"

export ETCD_DATA_MOUNT="/mnt/kind-cluster-etcd"

source ${KUBEVIRTCI_PATH}/cluster/kind/common.sh

function up() {
Expand Down

0 comments on commit b869c81

Please sign in to comment.