Skip to content

Commit d0e0dc0

Browse files
committed
Add wrk2 preparetion
1 parent a0074c0 commit d0e0dc0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

setup-dsb.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,19 @@ KUBERNETES_DIR="hotelReservation/kubernetes" # Path to the Kubernetes directory
1818
echo "setup deathstarbench in k8s"
1919

2020
# Clone the repository
21-
# git clone $REPO_URL /local
2221
cd /local
2322
git clone $REPO_URL
2423

24+
# Prepare workload generator
25+
cd /local/DeathStarBench/wrk2
26+
git submodule update --init --recursive ./deps/luajit/
27+
sudo apt-get install libssl-dev
28+
make all
29+
2530
# Pull hotelreservation docker images
2631
sudo docker pull $DOCKER_IMAGE
2732

28-
# sudo chmod -R 777 /local/DeathStarBench
29-
# sudo ln -s /local/DeathStarBench /users/royno7/
33+
# Setup kubernetes cluster
3034
sudo kubectl apply -Rf /local/DeathStarBench/$KUBERNETES_DIR
3135

3236
echo "deathstarbench-k8s setup complete"

0 commit comments

Comments
 (0)