From be3a6bdf14d30c2fae8d457c5e6a2e9d0c6c51ef Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Mon, 17 Jul 2017 07:25:31 -0700 Subject: Add yardstick example Change-Id: I7c0d4a8d7957ee5eb0efd39e75c561102fa9e06a Signed-off-by: Guo Ruijing --- src/vagrant/k8s_kubeadm/examples/yardstick.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 src/vagrant/k8s_kubeadm/examples/yardstick.sh 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 -- cgit 1.2.3-korg