Install latest Raspbian by following these instructions:
https://desertbot.io/blog/headless-raspberry-pi-3-bplus-ssh-wifi-setup
Installation steps for running K3s on a Raspberry PI cluster. My RPIs:
# Model
Install latest Raspbian by following these instructions:
https://desertbot.io/blog/headless-raspberry-pi-3-bplus-ssh-wifi-setup
Installation steps for running K3s on a Raspberry PI cluster. My RPIs:
# Model
The steps below requires that you have followed the installation steps for installing K3s on RPIs.
Start registry container on master node, we will use insecure mode as configured in my K3s installation guide:
docker run -d -p 5000:5000 --restart=always --name registry registry:2
Login to docker on master node (requires that you have an account on Docker Hub):
docker login
The steps below requires that you have followed the installation steps for installing K3s on RPIs.
NOTE: The following files can be found in the following repository.
Installation steps for K3s dashboard. On master node, create a folder called dashboard:
Link to GitHub: https://github.com/amueller/introduction_to_ml_with_python
Install the following packages:
# Fetch atom, unzip and move to Applications folder
curl -s https://atom.io/download/mac -o mac.zip
# Update xcode and install graphviz
openHAB is a popular open source home automation platform that can run on a Docker container. The openHAB K3s deployment in this example uses persistent volume claims on NFS volumes and Traefik Ingress controller for easy external access to GUIs.
NOTE: The yaml-files for openHAB uses NFS Persistent volumes, hence instructions on this page needs to be done before continuing.
The following instructions assumes you are logged into the master node.
You first need to clone the openHAB Docker repo to be able to fetch the latest container additions from OpenHAB:
Uses your existing and already configured NFS server to support dynamic provisioning of Kubernetes Persistent Volumes via Persistent Volume Claims.
Start with cloning the external-storage GitHub repo on the master node:
https://github.com/kubernetes-incubator/external-storage
git clone https://github.com/kubernetes-incubator/external-storage
The installation steps requires that you have configured NFS client as described in: https://gist.github.com/jannegpriv/f78b59d93c7a815b1fbcb940277bb762
The steps below are based on information in this article.
Check for the latest official docker image for InfluxDb on DockerHub.
To be able to reverse engineer Web APIs it is very convenient to use a man-in-the-middle proxy that can in detail reveal what is being sent over the line.
For MAC I recommend to use the mitmproxy which is very easy to install and use. To install just use brew:
brew install mitmproxy
mitmproxy is opensource and can be found on github.
Insert the SD card into a USB card reader, and plug it into your Mac
Open Terminal.app and use the following command to list the disks attached to your Mac and identify which /dev/disk corresponds to the SD card (look for the disk that includes a partition of type Linux):
diskutil list
diskutil unmountDisk /dev/disk3
sudo sh -c 'echo "deb-src http://download.telldus.com/debian/ stable main" > /etc/apt/sources.list.d/telldus.list'
wget http://download.telldus.com/debian/telldus-public.key
sudo apt-key add telldus-public.key
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get build-dep telldus-core
sudo apt-get install cmake libconfuse-dev libftdi-dev help2man