Add nodeSelector to enable selecting the desired 21/43721/1
authorTrevor Tao <trevor.tao@arm.com>
Thu, 21 Sep 2017 06:43:29 +0000 (14:43 +0800)
committerRoss Brattain <ross.b.brattain@intel.com>
Sat, 30 Sep 2017 08:23:07 +0000 (01:23 -0700)
commit133c8bfae180d6191673e5d9fe3afccec8e4f948
tree0f5bbda4a0411d176d240cc0be267b25607c6f39
parent0154665c6801b6adb7229fe405e2689875768def
Add nodeSelector to enable selecting the desired
Kubernetes running node when creating containers for
Kubernetes context

For example, a yaml file may looks like:
 servers:
    host:
      image: xxx
      command: /bin/bash
      nodeSelector:
          xxx: yyy

Synchronously change the unit test for this function

Change-Id: If74c9dad9b1a70395bb79f34708a0fde04e7e650
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
tests/unit/orchestrator/test_kubernetes.py
yardstick/orchestrator/kubernetes.py