add cmk in KuD 11/102311/83
authorLiang Ding <liang.ding@intel.com>
Thu, 31 Oct 2019 06:47:35 +0000 (23:47 -0700)
committerLiang Ding <liang.ding@intel.com>
Tue, 5 May 2020 15:41:48 +0000 (15:41 +0000)
commitcc10b9aff3fd16df62c0655ec1626624ad2e2fc0
tree506a942430b6eca7058b5549e445125b98f1e5ab
parent501d62d194a42c5c85f22d8208a4e1dd6d985492
add cmk in KuD

- deploy cmk related pods
- untaint compute nodes if necessary
- run cmk unit tests: allocate CPUs from exclusive and shared pools
- deploy a testing nginx pod along with cmk testing pods
- preset 1/2 CPUs for shared/exlusive pools to fit CI server machines
  users can adjust the parameters to meet their own requirements

Test Results:
  - many rounds of vagrant/5 VMs(controller01/02/03 and compute01/02)
    based test are all OK
  - 14 rounds tests on my local server (S2600WFQ (36C/72T) )and
    PC(HP Z228 (4C/4T)) with all-in-one bare metal deployment are all OK
  - CI(a 4C/4T machine) results of latest patch set also show that the
    test of bare metal deployment is OK
  - NOTE: both my local test and CI use the same testing method of calling
          aio.sh after applying the latest patch set.

Change-Id: I046a4a63b94f92f23347ab76c21a661521e01119
Issue-ID: MULTICLOUD-879
Signed-off-by: Liang Ding <liang.ding@intel.com>
13 files changed:
kud/deployment_infra/images/cmk.yaml [new file with mode: 0644]
kud/deployment_infra/playbooks/configure-cmk.yml [new file with mode: 0644]
kud/deployment_infra/playbooks/kud-vars.yml
kud/deployment_infra/playbooks/preconfigure-cmk.yml [new file with mode: 0644]
kud/hosting_providers/baremetal/README.md
kud/hosting_providers/baremetal/aio.sh
kud/hosting_providers/containerized/installer.sh
kud/hosting_providers/vagrant/Vagrantfile
kud/hosting_providers/vagrant/config/default.yml
kud/hosting_providers/vagrant/config/samples/pdf.yml.aio
kud/hosting_providers/vagrant/config/samples/pdf.yml.mini
kud/hosting_providers/vagrant/installer.sh
kud/tests/cmk.sh [new file with mode: 0755]