Posts

Showing posts from May, 2019

Kubernetes cluster on single board computers

I want to start off by saying i'm new to kubernetes so this is what I've done to get it working in my cluster. A lot of commands in the post I got from this post  by Hypriot. Setting up the Master Node My master node is a Rock64  by Pine64 a nice little computer. I installed there modified version of ubuntu called "Ubuntu 18.04 Bionic minimal 64bit Image [microSD / eMMC Boot]" as the os im using an microSD card right now. Install docker First lets install docker. Below is my favorite command to get it installed on a Linux machine. $ curl -L http://get.docker.com | sudo sh Configure docker Now lets configure docker to it uses the cgroup driver systemd. These commands came from kubernetes cri installation documentation. Modify the docker daemon.json file to have the following lines. Its usually located at /etc/docker/daemon.json { " exec-opts ": [ "native.cgroupdriver=systemd" ] , " log-driver ": "json-file&