Add service in kubernetes context 49/40649/6
authorchenjiankun <chenjiankun1@huawei.com>
Wed, 30 Aug 2017 02:31:40 +0000 (02:31 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Thu, 21 Sep 2017 11:01:25 +0000 (11:01 +0000)
commit677779ce5267e1265262fa6ae7584a81583113bc
tree26569b148bb2491a55a73a8f116919e34663998b
parentb00112e33caffee6b6b01402537e68007fdc8cb2
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