summaryrefslogtreecommitdiffstats
path: root/xci/installer/osh/README
blob: 902ac10e39a41d4e93b8a5fe92ad418d7c3b414a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Requirements:
  1. Performance of hosts
      The performance settings are not required officially. I recommend the following:
       - VM_CPU=6
       - VM_DISK=80GB
       - VM_MEMORY_SIZE=16GB

  2. Distributions
       - Ubuntu 16.04

  3. Packages:
       - Ansible v2.4 (or newer) and python-netaddr is installed on the machine that will run Ansible commands
       - Jinja 2.9 (or newer) is required to run the Ansible Playbooks

  4. Others:
       - The target servers must have access to the Internet in order to pull docker images.
       - The target servers are configured to allow IPv4 forwarding.
       - Your ssh key must be copied to all the servers part of your inventory.
       - The firewalls are not managed, you'll need to implement your own rules the way you used to. In order to avoid any issue during the deployment you should disable your firewall.

Flavors:
  1. mini: One deployment host, 1 master host and 1 node host.
  2. noha: One deployment host, 1 master host and 2 node hosts.

Components Installed:
  1. etcd
  2. network plugins:
       - calico
  3. kubernetes
  4. docker

How to use:

Clone the OPNFV Releng repository

    git clone https://gerrit.opnfv.org/gerrit/releng-xci.git

Change into the directory where the sandbox script is located

    cd releng-xci/xci

Set the variable to run openstack-helm

    export INSTALLER_TYPE=osh
    export DEPLOY_SCENARIO=k8-calico-nofeature
    export XCI_FLAVOR=mini

Execute sandbox script

    ./xci-deploy.sh