...
Please use the following command to install etcd database.
Code Block |
---|
|
$ kubectl apply -fwget https://raw.githubusercontent.com/Jingzhao123/arm64TemporaryCalico/temporay_arm64//iecedge/iec/master/src/foundation/scripts/cni/calico/etcd.yaml
v3.3/getting-started/kubernetes/installation/hosted/etcd-arm64$ sed -i "s/10.96.232.136/${CLUSTER_IP}/" ./etcd.yaml
$ kubectl apply -f etcd.yaml |
Install the RBAC Roles required for Calico
...
Code Block |
---|
|
$ wget https://docsraw.projectcalico.org/v3.3/getting-started/kubernetes/installation/hostedgithubusercontent.com/iecedge/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 |
...
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<start|stop>
$ has_dpdk=true external_net=external ./control.sh start |
...