Skip to content

Instantly share code, notes, and snippets.

@khorsmann
Created December 22, 2019 14:37
Show Gist options
  • Save khorsmann/96056397df2461ad5f862acb3fb85b19 to your computer and use it in GitHub Desktop.
Save khorsmann/96056397df2461ad5f862acb3fb85b19 to your computer and use it in GitHub Desktop.
notes for p1 / raspberry pi k3s cluster

https://blog.alexellis.io/test-drive-k3s-on-raspberry-pi/

Set the GPU memory split to 16mb

Add this to /boot/cmdline.txt cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory

curl -sfL https://get.k3s.io | sh - [INFO] Finding latest release [INFO] Using v1.0.1 as release [INFO] Downloading hash https://github.com/rancher/k3s/releases/download/v1.0.1/sha256sum-arm.txt [INFO] Downloading binary https://github.com/rancher/k3s/releases/download/v1.0.1/k3s-armhf [INFO] Verifying binary download [INFO] Installing k3s to /usr/local/bin/k3s [INFO] Creating /usr/local/bin/kubectl symlink to k3s [INFO] Creating /usr/local/bin/crictl symlink to k3s [INFO] Creating /usr/local/bin/ctr symlink to k3s [INFO] Creating killall script /usr/local/bin/k3s-killall.sh [INFO] Creating uninstall script /usr/local/bin/k3s-uninstall.sh [INFO] env: Creating environment file /etc/systemd/system/k3s.service.env [INFO] systemd: Creating service file /etc/systemd/system/k3s.service [INFO] systemd: Enabling k3s unit Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service. [INFO] systemd: Starting k3s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment