summaryrefslogtreecommitdiffstats
path: root/src/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant')
-rwxr-xr-xsrc/vagrant/k8s_kubeadm/examples/yardstick.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vagrant/k8s_kubeadm/examples/yardstick.sh b/src/vagrant/k8s_kubeadm/examples/yardstick.sh
new file mode 100755
index 0000000..bc1eecf
--- /dev/null
+++ b/src/vagrant/k8s_kubeadm/examples/yardstick.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+sudo docker run -tid -v /etc/kubernetes/admin.conf:/etc/yardstick/admin.conf --name yardstick opnfv/yardstick:latest
+sudo docker exec -ti yardstick yardstick task start yardstick/samples/ping_k8s.yaml