Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

see http://wiki.obrienlabs.cloud/display/DEV/Raspberry+PI

As part of OPNFV integration we need to validate running ONAP on ARM processor cores.  My only experience with ARM is during iOS development or on Broadcom chips.  We will run on the Broadcom chips to start.  Note that this is pure experimentation - in that the granularity of the v3 boards is only 1Gb - which will not run most of our pods properly.

Holiday setup of a kubernetes cluster on arm based Broadcom 2837 SOC boards

Bare Metal Setup

Image Added


Flash Raspian to all the SD cards

...

Code Block
pi@pi0:~ $ docker run hello-world
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: cgroups: memory cgroup not supported on this system: unknown.
ERRO[0007] error waiting for container: context canceled 
pi@pi0:~ $ docker version
Client:
 Version:      17.11.0-ce
 OS/Arch:      linux/arm
pi@pi0:~ $ sudo apt install docker-ce=17.09.0~ce-0~raspbian
pi@pi0:~ $ docker run hello-world
Hello from Docker!
pi@pi0:~ $ sudo nano /boot/cmdline.txt
pi@pi0:~ $ cat /boot/cmdline.txt 
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles # add to the end of first line: cgroup_enable=memory cgroup_memory=1
# reboot


Kubernetes Setup

http://blog.kubernetes.io/2015/12/creating-raspberry-pi-cluster-running.html

https://blog.alexellis.io/serverless-kubernetes-on-raspberry-pi/

https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17da2d975

https://blog.zhaw.ch/icclab/supporting-container-based-application-deployment-to-heterogeneous-hardware-using-rancher/


Debian Bootstrap

enable wireless, add WPA region