...
Method | Pros (current state) | Cons (current state) | Prerequisites |
---|
Manual installation | - Full control over each step
- Easy to understand and replicate
- Already available (see next chapter on this page)
| - Requires user intervention
- Requires certain prerequisites be met on cluster nodes apriori
| - preinstalled operating system (Ubuntu 16.04/18.04) on all involved nodes
|
Script-based installation | - High degree of flexibility via arguments
- Portable
- Can be used in CI/CD, assuming baremetal nodes are pre-provisioned, e.g. for shorter test cycles like a patch verify job where we'd want to avoid reinstalling the operating system each time
| - Implementation currently in progress
- Fixed number of nodes (1 master + 1 worker)
- Requires certain prerequisites be met on cluster nodes apriori
| - preinstalled operating system (Ubuntu 16.04/18.04) on all involved nodes
- user with passwordless sudo access already available on the target nodes
|
OPNFV-based installer(s) | - Unified and standardized input configuration files (PDF/IDF)
- Can be used in CI/CD
- Can handle OS provisioning on its own, for virtual, baremetal or hybrid PODs
| - Not yet implemented
- Requires hardware descriptor files (PDF/IDF)
| - Jumpserver (installer) node preinstalled
- XDF (PDF/IDF) available for the target lab
|
Heat stack | | - Not implementedtested on aarch64 yet
- Uses VMs rather than baremetal
| - Openstack cloud preinstalled
|
Other installer solutions (e.g. Airship) | - Alignment with industry standard installer solutions for K8s
| - Not implemented
- More complex design and configuration
- Might be overkill for IEC, at least with the current requirements
| |
...
Code Block |
---|
|
$ git clone https://github.com/opnfv/fuel
$ fuel/ci/deploy.sh -l arm -p virtual2 -s k8-nosdn-iec-noha -S /var/lib/opnfv/tmpdir/ -D |& tee deploy.log |
Heat Orchestration Templates
Prerequisites:
- Openstack Ocata or latest
Recommended configuration:
- 2 or more compute nodes with enough RAM and disk (128 GB of RAM, 2 TB disk space)
- DPDK is optional but it is recommended
The scripts and templates can be found in the Akraino iec git repository:
Code Block |
---|
|
$ git clone https://gerrit.akraino.org/r/iec
$ cd iec/src/foundation/hot
$ # [has_dpdk=true] external_net=<external_net> ./control.sh start
$ has_dpdk=true external_net=external ./control.sh start |
More useful information can be found in the README in the same directory