Add service in kubernetes context 71/42971/2
authorchenjiankun <chenjiankun1@huawei.com>
Wed, 30 Aug 2017 02:31:40 +0000 (02:31 +0000)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 25 Sep 2017 15:30:21 +0000 (08:30 -0700)
commit86c0326342b33f6e0b090b973fb58831ed1d38d2
treef7e15ee3417040f214a496d80d6953087d42f567
parentc793405a28a3b26845c379e3f4b60deab026d76d
Add service in kubernetes context

JIRA: YARDSTICK-803

Currently kubernetes test case can only run in master node.

We need to support it run in jump server.
So I add service and use nodePort type.

Then we can login the pod using nodePort.

Change-Id: Ia7900d263f1c5323f132435addec27ad10547ef9
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
tests/unit/benchmark/contexts/test_kubernetes.py
yardstick/benchmark/contexts/kubernetes.py
yardstick/benchmark/core/task.py
yardstick/common/kubernetes_utils.py
yardstick/orchestrator/kubernetes.py