...
Networking and HW Prerequisites
For a virutal deploy, minimum hardware requirement is 1 baremetal server (either x86_64 or aarch64) for a deploy with 3 VMs on it.
For a baremetal deploy minimum hardware requirement is 3 baremetal servers.
Networking requirements - TBD
Methods of Installation
To address a large variety of setups, multiple methods of deployment should be supported. Deployment works both on x86_64 and aarch64 hw.
Method | Pros (current state) | Cons (current state) | Prerequisites |
---|---|---|---|
Manual installation |
|
|
|
Script-based installation |
|
|
|
OPNFV-based installer(s) |
|
|
|
Heat stack |
|
|
|
| ||
Other installer solutions (e.g. Airship) |
|
|
|
Kubernetes Install for Ubuntu
...
Please use the following command to install etcd database.
Code Block | ||
---|---|---|
| ||
$ kubectl apply -fwget https://raw.githubusercontent.com/Jingzhao123iecedge/arm64TemporaryCalicoiec/temporay_arm64/ v3.3/getting-started/kubernetes/installation/hosted/etcd-arm64.yaml |
Install the RBAC Roles required for Calico
Code Block | ||
---|---|---|
| ||
master/src/foundation/scripts/cni/calico/etcd.yaml $ kubectlsed apply -fi https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/rbac.yaml |
Install Calico to system
...
"s/10.96.232.136/${CLUSTER_IP}/" ./etcd.yaml
$ kubectl apply -f etcd.yaml |
Install the RBAC Roles required for Calico
Code Block | ||
---|---|---|
| ||
$ kubectl apply -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/rbac.yaml |
Install Calico to system
Firstly, we should get the configuration file from web site and modify the corresponding image from amd64 to arm64 version. Then, by using kubectl, the calico pod will be created.
Code Block | ||
---|---|---|
| ||
$ wget https://docsraw.projectcalicogithubusercontent.orgcom/v3.3/getting-started/kubernetes/installation/hostediecedge/iec/master/src/foundation/scripts/cni/calico/calico.yaml |
Since the "quay.io/calico" image repo does not support does not multi-arch, we have to replace the “quay.io/calico” image path to "calico" which supports multi-arch.
Code Block | ||
---|---|---|
| ||
$ sed -i "s/quay.io\/calico/calico/" s@10.96.232.136@${CLUSTER_IP}@; s@192.168.0.0/16@${POD_NETWORK_CIDR}@" ./calico.yaml |
Deploy the Calico using following command:
...
Code Block | ||
---|---|---|
| ||
$ git clone -b stable/hunter 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] [skip_k8s_net=1] [skip_k8s_master=1] [skip_k8s_slaves=1] external_net=<external_net> ./control.sh <start|stop>
$ has_dpdk=true external_net=external ./control.sh start |
More useful information can be found in the README in the same directory