Skip to content

Instantly share code, notes, and snippets.

View hcaz's full-sized avatar
🚀
Making things, breaking things, etc....

Zachary Claret-Scott hcaz

🚀
Making things, breaking things, etc....
View GitHub Profile
@AlinaNova21
AlinaNova21 / README.md
Last active January 12, 2026 21:14
Rancher 2.0, RKE, and some Raspberry Pi 3s

Kubernetes and Arm

Getting rke and Rancher setup to run kubernetes on arm is interesting. There is no official support yet via rancher, although there is interest and some work done towards those efforts. This is my attempt at getting a cluster of 3 Pis (2 3Bs and 1 3B+) provisioned and registered to a rancher 2 server.

Prep

I've successfully completed this both with Hypriot OS 1.9.0 and the arm64 builds https://github.com/DieterReuter/image-builder-rpi64 Both times I used the same basic cloud-init setup

@elcritch
elcritch / rancher-zerotier.yml
Last active July 24, 2019 13:12
Run ZeroTier on RancherOS
#cloud-config
rancher:
services:
zerotier:
image: zerotier/zerotier-containerized:1.2.4
labels:
io.rancher.os.scope: system
volumes:
- /var/lib/zerotier-one:/var/lib/zerotier-one
restart: always
import sys
import json
import SocketServer
SocketServer.TCPServer.allow_reuse_address = True
class MCHandler(SocketServer.BaseRequestHandler):
@classmethod
def pack_varint(cls, d):
@penguinpowernz
penguinpowernz / etc-resolv.conf
Last active October 17, 2021 21:30
BECAUSE FUCK resolvconf
# THIS FILE MAY BE EDITED MANUALLY
nameserver 192.168.3.1
nameserver 8.8.8.8
# BECAUSE FUCK resolvconf
@mrrooijen
mrrooijen / recording.sh
Created November 6, 2012 17:33
[Linux] Screen Recording / Streaming Command-Line Utilities.
#!/bin/sh
# For pulse users:
# Don't forget to set "Monitor of Built-in..." in "Recording" tab in pavucontrol
INRES="1680x1050"
OUTRES="1280x800"
FPS="30"
OFFSET="0.0+1280,0"
VOLUME_LEVEL="128"