diff --git a/cluster-up/cluster/kind-k8s-sriov-1.17.0/provider.sh b/cluster-up/cluster/kind-k8s-sriov-1.17.0/provider.sh index 1248802065..b207c2ca7f 100755 --- a/cluster-up/cluster/kind-k8s-sriov-1.17.0/provider.sh +++ b/cluster-up/cluster/kind-k8s-sriov-1.17.0/provider.sh @@ -7,6 +7,8 @@ export KIND_NODE_IMAGE="kindest/node:v1.17.0" source ${KUBEVIRTCI_PATH}/cluster/kind/common.sh +ETCD_DATA_DIR="/mnt/tmpfs/etcd" + function up() { if [[ "$KUBEVIRT_NUM_NODES" -ne 2 ]]; then echo 'SR-IOV cluster can be only started with 2 nodes' @@ -28,6 +30,8 @@ function up() { readOnly: true - containerPath: /dev/vfio/ hostPath: /dev/vfio/ + - containerPath: /var/lib/etcd + hostPath: "$DATA_ETCD_DIR" EOF setup_kind