Installing Edge Apps - screenly/playground

Installing Edge Apps for the Screenly Playground project involves understanding the prerequisites and using various tools such as Git, Docker, and others. Here are the possible options with examples:

  1. Manual Installation:

You can manually install the Edge Kubernetes cluster using edgeadm. Here are the steps:

  • Download the edgeadm static installation package and copy it to all master && node nodes. Choose the installation package according to your installation node CPU architecture (amd64 or arm64).
arch = amd64
version = v0.3.0
&&  rm -rf edgeadm-linux-*
&&  wget https://superedge-1253687700.cos.ap-guangzhou.myqcloud.com/ $version / $arch /edgeadm-linux- $arch - $version .tgz
&&  tar -xzvf edgeadm-linux-*
&&   cd  edgeadm-linux- $arch - $version
&&  ./edgeadm
  • Install the edge Kubernetes master node:
./edgeadm init --kubernetes-version = 1.18.2 --image-repository superedge.tencentcloudcr.com/superedge --service-cidr = 10.96.0.0/12 --pod-network-cidr = 192.168.0.0/16 --install-pkg-path ./kube-linux-*.tar.gz --apiserver-cert-extra-sans = <Master public IP> --apiserver-advertise-address = <master Intranet IP> --enable-edge = true  -v = 6
  1. Automated Installation:

You can automate the installation process using a script. Here is an example:

  • Create a script file install-edge.sh:
#!/bin/bash
arch=$(uname -m)
version="v0.3.0"
wget https://superedge-1253687700.cos.ap-guangzhou.myqcloud.com/$version/linux-$arch/edgeadm-linux-$arch-$version.tar.gz
tar zxvf edgeadm-linux-$arch-$version.tar.gz
cd edgeadm-linux-$arch-$version
./edgeadm init --kubernetes-version=1.18.2 --image-repository superedge.tencentcloudcr.com/superedge --service-cidr=10.96.0.0/12 --pod-network-cidr=192.168.0.0/16 --install-pkg-path ./kube-linux-*.tar.gz --apiserver-cert-extra-sans=<Master public IP> --apiserver-advertise-address=<master Intranet IP> --enable-edge=true -v=6
  • Run the script:
chmod +x install-edge.sh
./install-edge.sh
  1. Installing Linkerd Edge:

Linkerd provides an edge release that you can install via the CLI:

curl --proto '=https' --tlsv1.2 -sSfL https://run.linkerd.io/install-edge | sh

For more information, you can refer to the official documentation:

The above options and examples should help you understand how to install Edge Apps for the Screenly Playground project.