summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-07-17 07:25:31 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2017-07-17 07:27:02 -0700
commitbe3a6bdf14d30c2fae8d457c5e6a2e9d0c6c51ef (patch)
tree8402f8f9abdf68602a3a114300c6f797383dd2c2 /src
parentb4804ed0b8d88fc91324dfbbf9e285d0691bb0f4 (diff)
Add yardstick example
Change-Id: I7c0d4a8d7957ee5eb0efd39e75c561102fa9e06a Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src')
-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