summaryrefslogtreecommitdiffstats
path: root/src/vagrant
diff options
context:
space:
mode:
authorRuijing Guo <ruijing.guo@intel.com>2017-07-25 01:05:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-25 01:05:59 +0000
commitedea600a65fa5879c564c2f8de3bbbf1d91f7823 (patch)
tree131a313ef3e1216213653896e4e1b30b0c471426 /src/vagrant
parent5e53d80ca4d3fbcf095b4e02d36b4e28fd7af00f (diff)
parentbe3a6bdf14d30c2fae8d457c5e6a2e9d0c6c51ef (diff)
Merge "Add yardstick example"
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